aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-07 21:08:47 +0800
committerGitHub <noreply@github.com>2022-11-07 21:08:47 +0800
commit894c59ec1f39fde259d5b6959c35549a0281943d (patch)
tree9b75a6dd2cd72948ed2491f296a28572f1ee941b /src
parent451b8d6cb1a3110b8c24d2f4b1966daffbaa3dab (diff)
downloadrneovim-894c59ec1f39fde259d5b6959c35549a0281943d.tar.gz
rneovim-894c59ec1f39fde259d5b6959c35549a0281943d.tar.bz2
rneovim-894c59ec1f39fde259d5b6959c35549a0281943d.zip
test(old): make Test_help_tagjump() test order match upstream
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_help_tagjump.vim16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/testdir/test_help_tagjump.vim b/src/nvim/testdir/test_help_tagjump.vim
index e84726bbfc..f81e4fb1ef 100644
--- a/src/nvim/testdir/test_help_tagjump.vim
+++ b/src/nvim/testdir/test_help_tagjump.vim
@@ -38,18 +38,18 @@ func Test_help_tagjump()
call assert_true(getline('.') =~ '\*quotestar\*')
helpclose
- " The test result is different in vim. There ":help ??" will jump to the
- " falsy operator ??, which hasn't been ported to neovim yet. Instead, neovim
- " jumps to the tag "g??". This test result needs to be changed if neovim
- " ports the falsy operator.
- help ??
+ " help sm?le
+ help ch?ckhealth
call assert_equal("help", &filetype)
- call assert_true(getline('.') =~ '\*g??\*')
+ " call assert_true(getline('.') =~ '\*:smile\*')
+ call assert_true(getline('.') =~ '\*:checkhealth\*')
helpclose
- help ch?ckhealth
+ help ??
call assert_equal("help", &filetype)
- call assert_true(getline('.') =~ '\*:checkhealth\*')
+ " *??* tag needs patch 8.2.1794
+ " call assert_true(getline('.') =~ '\*??\*')
+ call assert_true(getline('.') =~ '\*g??\*')
helpclose
help :?