comparison 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
comparison
equal deleted inserted replaced
22573:e327c9690dbe 22574:431367075f29
14 help " 14 help "
15 call assert_equal("help", &filetype) 15 call assert_equal("help", &filetype)
16 call assert_true(getline('.') =~ '\*quote\*') 16 call assert_true(getline('.') =~ '\*quote\*')
17 helpclose 17 helpclose
18 18
19 help *
20 call assert_equal("help", &filetype)
21 call assert_true(getline('.') =~ '\*star\*')
22 helpclose
23
19 help "* 24 help "*
20 call assert_equal("help", &filetype) 25 call assert_equal("help", &filetype)
21 call assert_true(getline('.') =~ '\*quotestar\*') 26 call assert_true(getline('.') =~ '\*quotestar\*')
22 helpclose 27 helpclose
23 28
24 help sm?le 29 help sm?le
25 call assert_equal("help", &filetype) 30 call assert_equal("help", &filetype)
26 call assert_true(getline('.') =~ '\*:smile\*') 31 call assert_true(getline('.') =~ '\*:smile\*')
32 helpclose
33
34 help ??
35 call assert_equal("help", &filetype)
36 call assert_true(getline('.') =~ '\*??\*')
27 helpclose 37 helpclose
28 38
29 help :? 39 help :?
30 call assert_equal("help", &filetype) 40 call assert_equal("help", &filetype)
31 call assert_true(getline('.') =~ '\*:?\*') 41 call assert_true(getline('.') =~ '\*:?\*')