diff src/testdir/test_help_tagjump.vim @ 22574:431367075f29 v8.2.1835

patch 8.2.1835: ":help ??" finds the "!!" tag Commit: https://github.com/vim/vim/commit/6eb36ade9883f54c84c739c6a3504ddfa3343063 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 11 19:08:33 2020 +0200 patch 8.2.1835: ":help ??" finds the "!!" tag Problem: ":help ??" finds the "!!" tag. Solution: Do not translate "?" into ".". (Naruhiko Nishino, closes https://github.com/vim/vim/issues/7114, closes #7115)
author Bram Moolenaar <Bram@vim.org>
date Sun, 11 Oct 2020 19:15:03 +0200
parents 2f0f308c069c
children 98f5a0618a77
line wrap: on
line diff
--- a/src/testdir/test_help_tagjump.vim
+++ b/src/testdir/test_help_tagjump.vim
@@ -16,6 +16,11 @@ func Test_help_tagjump()
   call assert_true(getline('.') =~ '\*quote\*')
   helpclose
 
+  help *
+  call assert_equal("help", &filetype)
+  call assert_true(getline('.') =~ '\*star\*')
+  helpclose
+
   help "*
   call assert_equal("help", &filetype)
   call assert_true(getline('.') =~ '\*quotestar\*')
@@ -26,6 +31,11 @@ func Test_help_tagjump()
   call assert_true(getline('.') =~ '\*:smile\*')
   helpclose
 
+  help ??
+  call assert_equal("help", &filetype)
+  call assert_true(getline('.') =~ '\*??\*')
+  helpclose
+
   help :?
   call assert_equal("help", &filetype)
   call assert_true(getline('.') =~ '\*:?\*')