From: Bram Moolenaar Date: Sat, 19 May 2018 13:52:11 +0000 (+0200) Subject: patch 8.1.0004: test for :compiler command sometimes fails X-Git-Tag: v8.1.0004 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54651f74948650bc68d6ac5b20376f2f985e80c5;p=thirdparty%2Fvim.git 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 index fd3510d60b..902276d22f 100644 --- 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 index 9ceabc7bfc..32ddbf6aa0 100644 --- a/src/version.c +++ b/src/version.c @@ -761,6 +761,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4, /**/ 3, /**/