aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 22:54:09 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-06 22:54:16 -0400
commit196cc1313025452e5ac439273c0af5a66dd0fbdd (patch)
treeea43a101501a9ac4c99b8ce93f5de1261839bcdf
parentf9f37193d19b3033b3ddf4ca93f3c234ceb73fcb (diff)
downloadrneovim-196cc1313025452e5ac439273c0af5a66dd0fbdd.tar.gz
rneovim-196cc1313025452e5ac439273c0af5a66dd0fbdd.tar.bz2
rneovim-196cc1313025452e5ac439273c0af5a66dd0fbdd.zip
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
-rw-r--r--src/nvim/testdir/test_compiler.vim5
1 files changed, 2 insertions, 3 deletions
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\<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!