From c17ba791a9edfa12926ce29f1eef39044bee5ab7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 3 Apr 2021 19:07:05 +0200 Subject: 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. --- src/testdir/test_compiler.vim | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim index 06a37c9fc..ede307fbf 100644 --- 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 index def02a5e1..5a5f73fb9 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2702, /**/ 2701, /**/ -- cgit v1.2.1