Skip to content

Commit 54651f7

Browse files
committed
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)
1 parent 10561fe commit 54651f7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Diff for: src/testdir/test_compiler.vim

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ func Test_compiler()
1919
w!
2020
call feedkeys(":make\<CR>\<CR>", 'tx')
2121
let a=execute('clist')
22-
call assert_equal("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
23-
\ . "requires explicit package name "
24-
\ . "(did you forget to declare \"my $foo\"?)", a)
22+
call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
23+
\ . "requires explicit package name", a)
2524

2625
call delete('Xfoo.pl')
2726
bw!

Diff for: src/version.c

+2
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,8 @@ static char *(features[]) =
761761

762762
static int included_patches[] =
763763
{ /* Add new patch number below this line */
764+
/**/
765+
4,
764766
/**/
765767
3,
766768
/**/

0 commit comments

Comments
 (0)