diff src/testdir/test_help.vim @ 18237:d0dfb3b0fe31 v8.1.2113

patch 8.1.2113: ":help expr-!~?" only works after searching Commit: https://github.com/vim/vim/commit/9ca250855b55f4d3292b010525c827dc6992cb61 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 5 11:30:09 2019 +0200 patch 8.1.2113: ":help expr-!~?" only works after searching Problem: ":help expr-!~?" only works after searching. Solution: Escape "~" after "expr-". (closes https://github.com/vim/vim/issues/5015)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Oct 2019 11:45:04 +0200
parents e1deb00ffc27
children 5bef1043abff
line wrap: on
line diff
--- 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