mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge #7966 'vim-patch:8.0.0470,8.0.0471'
This commit is contained in:
commit
418947fcb3
@ -227,6 +227,7 @@ endif
|
|||||||
|
|
||||||
" Names of flaky tests.
|
" Names of flaky tests.
|
||||||
let s:flaky = [
|
let s:flaky = [
|
||||||
|
\ 'Test_exit_callback_interval()',
|
||||||
\ 'Test_oneshot()',
|
\ 'Test_oneshot()',
|
||||||
\ 'Test_out_cb()',
|
\ 'Test_out_cb()',
|
||||||
\ 'Test_paused()',
|
\ 'Test_paused()',
|
||||||
|
@ -18,6 +18,52 @@ func Test_help_tagjump()
|
|||||||
call assert_true(getline('.') =~ '\*help.txt\*')
|
call assert_true(getline('.') =~ '\*help.txt\*')
|
||||||
helpclose
|
helpclose
|
||||||
|
|
||||||
|
help |
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*bar\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
help "*
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*quotestar\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
help sp?it
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*:split\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
help :?
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*:?\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
help FileW*Post
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*FileWritePost\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
help `ls`
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*:ls\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
help ^X
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*CTRL-X\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
help i_^_CTRL-D
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*i_^_CTRL-D\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
exec "help \<C-V>"
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*CTRL-V\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
|
||||||
exec "help! ('textwidth'"
|
exec "help! ('textwidth'"
|
||||||
call assert_equal("help", &filetype)
|
call assert_equal("help", &filetype)
|
||||||
call assert_true(getline('.') =~ "\\*'textwidth'\\*")
|
call assert_true(getline('.') =~ "\\*'textwidth'\\*")
|
||||||
@ -47,6 +93,16 @@ func Test_help_tagjump()
|
|||||||
call assert_equal("help", &filetype)
|
call assert_equal("help", &filetype)
|
||||||
call assert_true(getline('.') =~ '\*{address}\*')
|
call assert_true(getline('.') =~ '\*{address}\*')
|
||||||
helpclose
|
helpclose
|
||||||
|
|
||||||
|
exusage
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*:index\*')
|
||||||
|
helpclose
|
||||||
|
|
||||||
|
viusage
|
||||||
|
call assert_equal("help", &filetype)
|
||||||
|
call assert_true(getline('.') =~ '\*normal-index\*')
|
||||||
|
helpclose
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
let s:langs = ['en', 'ab', 'ja']
|
let s:langs = ['en', 'ab', 'ja']
|
||||||
|
Loading…
Reference in New Issue
Block a user