Bram Moolenaar | c31f9ae | 2017-07-23 22:02:02 +0200 | [diff] [blame] | 1 | " Tests for the preview window |
Bram Moolenaar | 5a4c308 | 2019-12-01 15:23:11 +0100 | [diff] [blame] | 2 | source check.vim |
3 | CheckFeature quickfix | ||||
Bram Moolenaar | c31f9ae | 2017-07-23 22:02:02 +0200 | [diff] [blame] | 4 | |
5 | func Test_Psearch() | ||||
6 | " this used to cause ml_get errors | ||||
7 | help | ||||
8 | let wincount = winnr('$') | ||||
9 | 0f | ||||
10 | ps. | ||||
11 | call assert_equal(wincount + 1, winnr('$')) | ||||
12 | pclose | ||||
13 | call assert_equal(wincount, winnr('$')) | ||||
14 | bwipe | ||||
15 | endfunc |