summaryrefslogtreecommitdiff
path: root/src/testdir/test_help.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-16 22:26:44 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-16 22:26:44 +0100
commit751ba616d1c47de2c273b269df06c36a7ed141a2 (patch)
tree22e882a85cde0eb682622a46e7b6622e875e3908 /src/testdir/test_help.vim
parent0c0d4eca4dd6252f22ec39f2d561a5e8a68e9a4e (diff)
downloadvim-git-751ba616d1c47de2c273b269df06c36a7ed141a2.tar.gz
patch 8.0.0470: not enough testing for help commandsv8.0.0470
Problem: Not enough testing for help commands. Solution: Add a few more help tests. (Dominique Pelle, closes #1565)
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