Problem: tests: test_cmdline.vim leaves swapfiles behind
Solution: Close open buffers using :bw! instead of :close!
Signed-off-by: Christian Brabandt <cb@256bit.org>
2/foo/yank
call assert_equal("foo 3\n", @")
call assert_equal(1, line('.'))
- close!
+ bw!
endfunc
" Tests for getcmdline(), getcmdpos() and getcmdtype()
" 'insertmode'
call feedkeys(":set im\<cr>\<C-L>:\<C-\>\<C-G>12\<C-L>:set noim\<cr>", 'xt')
call assert_equal('ab12xyc', getline(1))
- close!
+ bw!
endfunc
" Test for 'wildmode'
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1996,
/**/
1995,
/**/