Commits

ZyX_I  committed 49b3f45

Added some reload checks

  • Participants
  • Parent commits 083b734

Comments (0)

Files changed (6)

File test/reload-frawor.in

+:let &rtp.=",".escape($TESTDIR, ',\').'/rtp'
+:let g:testfile="plugin/ignoredeps-feature.vim"
+:source test.vim
+:for file in FraworUnload('plugin/frawor') | execute "source" fnameescape(file) | endfor

File test/reload-frawor.ok

+load: plugin/frawor/functions
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature
+unloadpre: plugin/frawor/functions
+unloadpre: plugin/ignoredeps-feature
+unloadpre: plugin/writefile-feature
+unloadpre: plugin/frawor
+unload: plugin/frawor/functions
+unload: plugin/ignoredeps-feature
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature
+load: plugin/frawor/functions
+load: plugin/frawor/functions
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature
+unloadpre: plugin/frawor/functions
+unloadpre: plugin/ignoredeps-feature
+unloadpre: plugin/writefile-feature
+unloadpre: plugin/frawor
+unload: plugin/frawor/functions
+unload: plugin/ignoredeps-feature
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature
+load: plugin/frawor/functions

File test/reload-ignoredeps.in

+:let &rtp.=",".escape($TESTDIR, ',\').'/rtp'
+:let g:testfile="plugin/ignoredeps-feature.vim"
+:source test.vim
+:call FraworUnload(g:testfile[:-5])
+:source test.vim

File test/reload-ignoredeps.ok

+load: plugin/frawor/functions
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature
+unloadpre: plugin/ignoredeps-feature
+unload: plugin/ignoredeps-feature
+load: plugin/frawor/functions
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature

File test/reload-writefile.in

+:let &rtp.=",".escape($TESTDIR, ',\').'/rtp'
+:let g:testfile="plugin/ignoredeps-feature.vim"
+:source test.vim
+:for file in FraworUnload('plugin/writefile-feature') | execute "source" fnameescape(file) | endfor

File test/reload-writefile.ok

+load: plugin/frawor/functions
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature
+unloadpre: plugin/ignoredeps-feature
+unloadpre: plugin/writefile-feature
+unload: plugin/ignoredeps-feature
+load: plugin/frawor/functions
+load: plugin/frawor
+load: plugin/writefile-feature
+load: plugin/ignoredeps-feature