mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
26f201345d
commit
c17ba791a9
@ -69,10 +69,10 @@ func Test_compiler_completion()
|
|||||||
call assert_match('^"compiler ' .. clist .. '$', @:)
|
call assert_match('^"compiler ' .. clist .. '$', @:)
|
||||||
|
|
||||||
call feedkeys(":compiler p\<C-A>\<C-B>\"\<CR>", 'tx')
|
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 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
|
endfunc
|
||||||
|
|
||||||
func Test_compiler_error()
|
func Test_compiler_error()
|
||||||
|
@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2702,
|
||||||
/**/
|
/**/
|
||||||
2701,
|
2701,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user