diff options
Diffstat (limited to 'src/testdir/test_window_cmd.vim')
-rw-r--r-- | src/testdir/test_window_cmd.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_window_cmd.vim b/src/testdir/test_window_cmd.vim index 3519a1dce..9a042c3ca 100644 --- a/src/testdir/test_window_cmd.vim +++ b/src/testdir/test_window_cmd.vim @@ -137,6 +137,8 @@ endfunc " Test the ":wincmd ^" and "<C-W>^" commands. func Test_window_split_edit_alternate() + " in case a previous failure left a swap file behind + call delete('.Xfoo.swp') " Test for failure when the alternate buffer/file no longer exists. edit Xfoo | %bw @@ -170,6 +172,8 @@ endfunc " Test the ":[count]wincmd ^" and "[count]<C-W>^" commands. func Test_window_split_edit_bufnr() + " in case a previous failure left a swap file behind + call delete('.Xfoo.swp') %bwipeout let l:nr = bufnr('%') + 1 |