mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
vim-patch:8.2.2702: compiler completion test fails when more scripts are added
Problem: Compiler completion test fails when more scripts are added.
Solution: Add a more generic pattern.
c17ba791a9
This commit is contained in:
parent
ffef1519ca
commit
53cceda52d
@ -60,10 +60,10 @@ func Test_compiler_completion()
|
||||
call assert_match('^"compiler ' .. clist .. '$', @:)
|
||||
|
||||
call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_equal('"compiler pbx perl php pylint pyunit', @:)
|
||||
call assert_match('"compiler pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:)
|
||||
|
||||
call feedkeys(":compiler! p\<C-A>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_equal('"compiler! pbx perl php pylint pyunit', @:)
|
||||
call assert_match('"compiler! pbx perl\( p[a-z]\+\)\+ pylint pyunit', @:)
|
||||
endfunc
|
||||
|
||||
func Test_compiler_error()
|
||||
|
Loading…
Reference in New Issue
Block a user