diff options
Diffstat (limited to 'src/testdir/test_compiler.vim')
-rw-r--r-- | src/testdir/test_compiler.vim | 5 |
1 files changed, 2 insertions, 3 deletions
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\<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! |