diff --git a/test/old/testdir/test_bufwintabinfo.vim b/test/old/testdir/test_bufwintabinfo.vim index 0a4bd0b674..225c98c530 100644 --- a/test/old/testdir/test_bufwintabinfo.vim +++ b/test/old/testdir/test_bufwintabinfo.vim @@ -112,6 +112,7 @@ func Test_getbufwintabinfo() call assert_true(winlist[2].quickfix) call assert_false(winlist[2].loclist) wincmd t | only + %bw! endfunc function Test_get_wininfo_leftcol() diff --git a/test/old/testdir/test_registers.vim b/test/old/testdir/test_registers.vim index b00baa8c65..51b332c220 100644 --- a/test/old/testdir/test_registers.vim +++ b/test/old/testdir/test_registers.vim @@ -561,7 +561,7 @@ func Test_execute_register() new call feedkeys("@=\ax\y", 'xt') call assert_equal(['x', 'y'], getline(1, '$')) - close! + bw! " cannot execute a register in operator pending mode call assert_beeps('normal! c@r')