mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
test(old): make Test_help_tagjump() test order match upstream
This commit is contained in:
@@ -38,20 +38,20 @@ func Test_help_tagjump()
|
|||||||
call assert_true(getline('.') =~ '\*quotestar\*')
|
call assert_true(getline('.') =~ '\*quotestar\*')
|
||||||
helpclose
|
helpclose
|
||||||
|
|
||||||
" The test result is different in vim. There ":help ??" will jump to the
|
" help sm?le
|
||||||
" 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 ??
|
|
||||||
call assert_equal("help", &filetype)
|
|
||||||
call assert_true(getline('.') =~ '\*g??\*')
|
|
||||||
helpclose
|
|
||||||
|
|
||||||
help ch?ckhealth
|
help ch?ckhealth
|
||||||
call assert_equal("help", &filetype)
|
call assert_equal("help", &filetype)
|
||||||
|
" call assert_true(getline('.') =~ '\*:smile\*')
|
||||||
call assert_true(getline('.') =~ '\*:checkhealth\*')
|
call assert_true(getline('.') =~ '\*:checkhealth\*')
|
||||||
helpclose
|
helpclose
|
||||||
|
|
||||||
|
help ??
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
" *??* tag needs patch 8.2.1794
|
||||||
|
" call assert_true(getline('.') =~ '\*??\*')
|
||||||
|
call assert_true(getline('.') =~ '\*g??\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
help :?
|
help :?
|
||||||
call assert_equal("help", &filetype)
|
call assert_equal("help", &filetype)
|
||||||
call assert_true(getline('.') =~ '\*:?\*')
|
call assert_true(getline('.') =~ '\*:?\*')
|
||||||
|
Reference in New Issue
Block a user