test: Add missing test from vim-patch:7.4.2312

This commit is contained in:
Justin M. Keyes
2016-10-26 13:53:14 +02:00
parent d357a42389
commit 26b90e95e7

View File

@@ -218,7 +218,7 @@ function Test_tabpage_with_tab_modifier()
bw!
endfunction
func Test_tabnext_on_buf_unload()
func Test_tabnext_on_buf_unload1()
" This once caused a crash
new
tabedit
@@ -227,7 +227,19 @@ func Test_tabnext_on_buf_unload()
q
while tabpagenr('$') > 1
quit
bwipe!
endwhile
endfunc
func Test_tabnext_on_buf_unload2()
" This once caused a crash
tabedit
autocmd BufUnload <buffer> tabnext
file x
edit y
while tabpagenr('$') > 1
bwipe!
endwhile
endfunc