1
0
forked from aniani/vim
Files
vim/src/testdir/test_preview.vim

14 lines
248 B
VimL
Raw Normal View History

" Tests for the preview window
func Test_Psearch()
" this used to cause ml_get errors
help
let wincount = winnr('$')
0f
ps.
call assert_equal(wincount + 1, winnr('$'))
pclose
call assert_equal(wincount, winnr('$'))
bwipe
endfunc