aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-18 21:52:37 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-21 08:43:06 -0400
commit1c71a3c657ed7668de0d0fc3fae928d8857a62cb (patch)
tree2e271c016fbc417914c4eed39cd7ff2f504919c8
parent690cd4f012cef0ed1817ad55db84dc3d0a51e2d0 (diff)
downloadrneovim-1c71a3c657ed7668de0d0fc3fae928d8857a62cb.tar.gz
rneovim-1c71a3c657ed7668de0d0fc3fae928d8857a62cb.tar.bz2
rneovim-1c71a3c657ed7668de0d0fc3fae928d8857a62cb.zip
vim-patch:8.1.2054: compiler test for Perl may fail
Problem: Compiler test for Perl may fail. Solution: Accept any error line number. (James McCoy, closes vim/vim#4944) https://github.com/vim/vim/commit/cebfcffa40c058119bc2f92f0db02dffd3f6affe
-rw-r--r--src/nvim/testdir/test_compiler.vim5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim
index f561e84a38..40d3cdbdae 100644
--- a/src/nvim/testdir/test_compiler.vim
+++ b/src/nvim/testdir/test_compiler.vim
@@ -28,8 +28,9 @@ func Test_compiler()
w!
call feedkeys(":make\<CR>\<CR>", 'tx')
let a=execute('clist')
- call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
- \ . "requires explicit package name", a)
+ call assert_match('\n \d\+ Xfoo.pl:3: Global symbol "$foo" '
+ \ . 'requires explicit package name', a)
+
let &shellslash = save_shellslash
call delete('Xfoo.pl')