diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-18 21:52:37 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-21 08:43:06 -0400 |
commit | 1c71a3c657ed7668de0d0fc3fae928d8857a62cb (patch) | |
tree | 2e271c016fbc417914c4eed39cd7ff2f504919c8 /src | |
parent | 690cd4f012cef0ed1817ad55db84dc3d0a51e2d0 (diff) | |
download | rneovim-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
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_compiler.vim | 5 |
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') |