summaryrefslogtreecommitdiff
path: root/src/testdir/test_help.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-05 11:30:09 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-05 11:30:09 +0200
commit9ca250855b55f4d3292b010525c827dc6992cb61 (patch)
tree323c839cb49b0eb3bdcdc9521a01cf9d4812582f /src/testdir/test_help.vim
parent4c063dde73c618b0728016d221ef130d9e9ec968 (diff)
downloadvim-git-9ca250855b55f4d3292b010525c827dc6992cb61.tar.gz
patch 8.1.2113: ":help expr-!~?" only works after searchingv8.1.2113
Problem: ":help expr-!~?" only works after searching. Solution: Escape "~" after "expr-". (closes #5015)
Diffstat (limited to 'src/testdir/test_help.vim')
-rw-r--r--src/testdir/test_help.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_help.vim b/src/testdir/test_help.vim
index c550ff09e..5dd937a93 100644
--- a/src/testdir/test_help.vim
+++ b/src/testdir/test_help.vim
@@ -20,6 +20,12 @@ func Test_help_errors()
bwipe!
endfunc
+func Test_help_expr()
+ help expr-!~?
+ call assert_equal('eval.txt', expand('%:t'))
+ close
+endfunc
+
func Test_help_keyword()
new
set keywordprg=:help