1
0
forked from aniani/vim

patch 8.0.0470: not enough testing for help commands

Problem:    Not enough testing for help commands.
Solution:   Add a few more help tests. (Dominique Pelle, closes #1565)
This commit is contained in:
Bram Moolenaar
2017-03-16 22:26:44 +01:00
parent 0c0d4eca4d
commit 751ba616d1
3 changed files with 63 additions and 0 deletions

View File

@@ -8,3 +8,8 @@ func Test_help_restore_snapshot()
help
helpclose
endfunc
func Test_help_errors()
call assert_fails('help doesnotexist', 'E149:')
call assert_fails('help!', 'E478:')
endfunc