1" Tests for the preview window
2
3func Test_Psearch()
4 " this used to cause ml_get errors
5 help
6 let wincount = winnr('$')
7 0f
8 ps.
9 call assert_equal(wincount + 1, winnr('$'))
10 pclose
11 call assert_equal(wincount, winnr('$'))
12 bwipe
13endfunc
14