diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-04-03 19:07:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-04-03 19:07:05 +0200 |
commit | c17ba791a9edfa12926ce29f1eef39044bee5ab7 (patch) | |
tree | f32f294adfd9b9cc06bd158cb3764633c659c46d /src | |
parent | 26f201345dadef2a048db5aea804f6c1b54f1a0b (diff) |
patch 8.2.2702: compiler completion test fails when more scripts are addedv8.2.2702
Problem: Compiler completion test fails when more scripts are added.
Solution: Add a more generic pattern.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_compiler.vim | 4 | ||||
-rw-r--r-- | 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 06a37c9fc5..ede307fbfc 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\<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() diff --git a/src/version.c b/src/version.c index def02a5e10..5a5f73fb9c 100644 --- 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, |