mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
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.
This commit is contained in:
@@ -69,10 +69,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()
|
||||
|
Reference in New Issue
Block a user