mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.1.0559: command line completion not sufficiently tested
Problem: Command line completion not sufficiently tested. Solution: Add more tests. (Dominique Pelle, closes #3622)
This commit is contained in:
@@ -119,6 +119,15 @@ func Test_syntime()
|
||||
bd
|
||||
endfunc
|
||||
|
||||
func Test_syntime_completion()
|
||||
if !has('profile')
|
||||
return
|
||||
endif
|
||||
|
||||
call feedkeys(":syntime \<C-A>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_equal('"syntime clear off on report', @:)
|
||||
endfunc
|
||||
|
||||
func Test_syntax_list()
|
||||
syntax on
|
||||
let a = execute('syntax list')
|
||||
|
Reference in New Issue
Block a user