Commits

ZyX_I  committed 1743d29

Added unload-self test

  • Participants
  • Parent commits 569911b

Comments (0)

Files changed (7)

File test/rtp/plugin/invalid-FraworRegister-arguments.10.vim

+call FraworRegister([0, 0], 3, expand('<sfile>'),
+            \{'plugin/writefile-feature': [0, '0']}, 0, {}, {})
+

File test/rtp/plugin/invalid-FraworRegister-arguments.8.vim

+call FraworRegister([0, 0], 3, expand('<sfile>'),
+            \{'plugin/writefile-feature': '0.0'}, 0, {}, {})
+

File test/rtp/plugin/invalid-FraworRegister-arguments.9.vim

+call FraworRegister([0, 0], 3, expand('<sfile>'),
+            \{'plugin/writefile-feature': []}, 0, {}, {})
+

File test/rtp/plugin/unload-self-feature.vim

+execute frawor#Setup('0.0', {}, 1)
+call s:F._frawor.newfeature('unload', {'cons': function('FraworUnload')})
+

File test/rtp/plugin/unload-self.vim

+execute frawor#Setup('0.0', {'plugin/ignoredeps-feature': '0',
+            \                'plugin/unload-self-feature': '0'}, 1)
+call s:F._frawor.unload()
+

File test/unload-self.in

+:let &rtp.=",".escape($TESTDIR, ',\').'/rtp'
+:let g:testfile="plugin/unload-self.vim"
+:source test.vim

File test/unload-self.ok

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