diff --git a/test/old/testdir/test_tagjump.vim b/test/old/testdir/test_tagjump.vim index 74ae4a6c73..0432c032bb 100644 --- a/test/old/testdir/test_tagjump.vim +++ b/test/old/testdir/test_tagjump.vim @@ -1349,7 +1349,7 @@ func Test_inc_search() call assert_fails('isplit 6 foo', 'E389:') call assert_fails('isplit bar', 'E389:') - close! + bw! endfunc " this was using a line from ml_get() freed by the regexp @@ -1462,7 +1462,7 @@ func Test_macro_search() call assert_fails('dsplit 6 FOO', 'E388:') call assert_fails('dsplit BAR', 'E388:') - close! + bw! endfunc func Test_define_search() @@ -1508,7 +1508,7 @@ func Test_comment_search() call assert_beeps('normal! 15|[/') call setline(1, ' /* comment') call assert_beeps('normal! 15|]/') - close! + bw! endfunc " Test for the 'taglength' option