Skip to content

Commit

Permalink
patch 8.1.0004: test for :compiler command sometimes fails
Browse files Browse the repository at this point in the history
Problem:    Test for :compiler command sometimes fails.
Solution:   Be less strict about the error message. (Dominique Pelle)
  • Loading branch information
brammool committed May 19, 2018
1 parent 10561fe commit 54651f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/testdir/test_compiler.vim
Expand Up @@ -19,9 +19,8 @@ func Test_compiler()
w! w!
call feedkeys(":make\<CR>\<CR>", 'tx') call feedkeys(":make\<CR>\<CR>", 'tx')
let a=execute('clist') let a=execute('clist')
call assert_equal("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" " call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
\ . "requires explicit package name " \ . "requires explicit package name", a)
\ . "(did you forget to declare \"my $foo\"?)", a)


call delete('Xfoo.pl') call delete('Xfoo.pl')
bw! bw!
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =


static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4,
/**/ /**/
3, 3,
/**/ /**/
Expand Down

0 comments on commit 54651f7

Please sign in to comment.