diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-19 15:52:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-19 15:52:11 +0200 |
commit | 54651f74948650bc68d6ac5b20376f2f985e80c5 (patch) | |
tree | 465720f16a582953b41eb845599fca865beb997a /src/testdir/test_compiler.vim | |
parent | 10561fe0a37efd611ccb1517b37de12d2e37af0f (diff) | |
download | vim-git-54651f74948650bc68d6ac5b20376f2f985e80c5.tar.gz |
patch 8.1.0004: test for :compiler command sometimes failsv8.1.0004
Problem: Test for :compiler command sometimes fails.
Solution: Be less strict about the error message. (Dominique Pelle)
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 fd3510d60..902276d22 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! |