# HG changeset patch # User Christian Brabandt # Date 1526738407 -7200 # Node ID 25596723607593ddb47febfc142d3b4a962ce855 # Parent a48940d371b0460fb9afc97837ee119d8834d86b patch 8.1.0004: test for :compiler command sometimes fails commit https://github.com/vim/vim/commit/54651f74948650bc68d6ac5b20376f2f985e80c5 Author: Bram Moolenaar Date: Sat May 19 15:52:11 2018 +0200 patch 8.1.0004: test for :compiler command sometimes fails Problem: Test for :compiler command sometimes fails. Solution: Be less strict about the error message. (Dominique Pelle) 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 @@ -19,9 +19,8 @@ func Test_compiler() w! call feedkeys(":make\\", 'tx') let a=execute('clist') - call assert_equal("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" " - \ . "requires explicit package name " - \ . "(did you forget to declare \"my $foo\"?)", a) + call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" " + \ . "requires explicit package name", a) call delete('Xfoo.pl') bw! diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -762,6 +762,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4, +/**/ 3, /**/ 2,