Skip to content

Commit a8a0ee5

Browse files
committed
patch 9.1.2020: tests: test_virtualedit.vim leaves swapfiles behind
Problem: tests: test_virtualedit.vim leaves swapfiles behind Solution: Close open buffers using :bw! instead of :close! Signed-off-by: Christian Brabandt <cb@256bit.org>
1 parent 491f0fa commit a8a0ee5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/testdir/test_virtualedit.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ func Test_delete_break_tab()
395395
normal v3ld
396396
call assert_equal(' two', getline(1))
397397
set virtualedit&
398-
close!
398+
bw!
399399
endfunc
400400

401401
" Test for using <BS>, <C-W> and <C-U> in virtual edit mode
@@ -413,7 +413,7 @@ func Test_ve_backspace()
413413
call assert_equal([0, 1, 1, 0], getpos('.'))
414414
set backspace&
415415
set virtualedit&
416-
close!
416+
bw!
417417
endfunc
418418

419419
" Test for delete (x) on EOL character and after EOL

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,6 +734,8 @@ static char *(features[]) =
734734

735735
static int included_patches[] =
736736
{ /* Add new patch number below this line */
737+
/**/
738+
2020,
737739
/**/
738740
2019,
739741
/**/

0 commit comments

Comments
 (0)