From 196cc1313025452e5ac439273c0af5a66dd0fbdd Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 6 Aug 2018 22:54:09 -0400 Subject: vim-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) https://github.com/vim/vim/commit/54651f74948650bc68d6ac5b20376f2f985e80c5 --- src/nvim/testdir/test_compiler.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/nvim') diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim index fd3510d60b..902276d22f 100644 --- a/src/nvim/testdir/test_compiler.vim +++ b/src/nvim/testdir/test_compiler.vim @@ -19,9 +19,8 @@ func Test_compiler() w! call feedkeys(":make\\", '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! -- cgit