vim-patch:8.2.0049: command line completion not fully tested

Problem:    Command line completion not fully tested.
Solution:   Add more test cases.  Make help sorting stable. (Dominique Pelle,
            closes vim/vim#5402)
297610ba4b
This commit is contained in:
zeertzjq
2022-07-01 10:54:41 +08:00
parent 2268a4147e
commit 300490f2e8
7 changed files with 55 additions and 1 deletions

View File

@@ -92,6 +92,11 @@ func Test_help_local_additions()
let &rtp = rtp_save
endfunc
func Test_help_completion()
call feedkeys(":help :undo\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_equal('"help :undo :undoj :undol :undojoin :undolist', @:)
endfunc
" Test for the :helptags command
func Test_helptag_cmd()
call mkdir('Xdir/a/doc', 'p')