mirror of
https://github.com/vim/vim.git
synced 2025-10-05 05:34:07 -04:00
14 lines
248 B
VimL
14 lines
248 B
VimL
![]() |
" 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
|