summaryrefslogtreecommitdiff
path: root/src/testdir/test_help.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdir/test_help.vim')
-rw-r--r--src/testdir/test_help.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/test_help.vim b/src/testdir/test_help.vim
index ca095d067..5a35b691a 100644
--- a/src/testdir/test_help.vim
+++ b/src/testdir/test_help.vim
@@ -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