# HG changeset patch # User Bram Moolenaar # Date 1617470104 -7200 # Node ID 7759374c446436bc039b751fc1e8dfed796607eb # Parent 98e72bec3515a62cc41af21b78418c2f441b7d3c patch 8.2.2702: compiler completion test fails when more scripts are added Commit: https://github.com/vim/vim/commit/c17ba791a9edfa12926ce29f1eef39044bee5ab7 Author: Bram Moolenaar Date: Sat Apr 3 19:07:05 2021 +0200 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. diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim --- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim @@ -69,10 +69,10 @@ func Test_compiler_completion() call assert_match('^"compiler ' .. clist .. '$', @:) call feedkeys(":compiler p\\\"\", '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\\\"\", '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() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2702, +/**/ 2701, /**/ 2700,