Commits

ZyX_I committed 2fae582

Added invalid-load check

Comments (0)

Files changed (6)

+:let &rtp.=",".escape($TESTDIR, ',\').'/rtp'
+:let i=1
+:while filereadable("rtp/plugin/invalid-load.".i.".vim") | let g:testfile="plugin/invalid-load.".i.".vim" | source test.vim | let i+=1 | endwhile
+Frawor:plugin/frawor:plidempty
+Frawor:plugin/frawor:invplugdict
+Frawor:plugin/frawor:invloadarg
+invloadarg
+mesnotstr
+ncall
+nfref
+nomessage
+nomessages
+_plstatuses
+unotloaded

test/rtp/plugin/invalid-load.1.vim

+execute frawor#Setup('0.0', {}, 1)
+call FraworLoad('')

test/rtp/plugin/invalid-load.2.vim

+execute frawor#Setup('0.0', {}, 1)
+call FraworLoad({'id': 'plugin/invalid-load.2'})

test/rtp/plugin/invalid-load.3.vim

+execute frawor#Setup('0.0', {}, 1)
+call FraworLoad([])