0
0
mirror of https://github.com/vim/vim.git synced 2025-10-05 05:34:07 -04:00
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