Skip to content

Commit 3675514

Browse files
committed
Fix tests failing due to bwipeout bug
Issue: vim/vim#5431 The listener gets added twice when using `%bwipeout!`. Workaround by not calling `bwipeout` and instead just creating new buffers.
1 parent 4e5553c commit 3675514

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/test.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ function s:TestEdits(original, EditCb, expected) abort
55
call a:EditCb()
66
silent write
77
call assert_equal(a:expected, readfile(fname))
8-
%bwipeout!
98
endfunction
109

1110
function Test_OneLineUnchanged() abort

0 commit comments

Comments
 (0)