0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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)
This commit is contained in:
Bram Moolenaar
2018-05-19 15:52:11 +02:00
parent 10561fe0a3
commit 54651f7494
2 changed files with 4 additions and 3 deletions

View File

@@ -19,9 +19,8 @@ func Test_compiler()
w!
call feedkeys(":make\<CR>\<CR>", '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!

View File

@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4,
/**/
3,
/**/