Bram Moolenaar | 343b8c0 | 2017-02-17 12:04:56 +0100 | [diff] [blame] | 1 | " Tests for :help |
2 | |||||
3 | func Test_help_restore_snapshot() | ||||
4 | help | ||||
5 | set buftype= | ||||
6 | help | ||||
7 | edit x | ||||
8 | help | ||||
9 | helpclose | ||||
10 | endfunc | ||||
Bram Moolenaar | 751ba61 | 2017-03-16 22:26:44 +0100 | [diff] [blame] | 11 | |
12 | func Test_help_errors() | ||||
13 | call assert_fails('help doesnotexist', 'E149:') | ||||
14 | call assert_fails('help!', 'E478:') | ||||
15 | endfunc |