| Bram Moolenaar | c31f9ae | 2017-07-23 22:02:02 +0200 | [diff] [blame] | 1 | " Tests for the preview window |
| 2 | |||||
| 3 | func 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 | ||||
| 13 | endfunc | ||||