Mercurial > vim
changeset 18118:9b7c7754ba9d v8.1.2054
patch 8.1.2054: compiler test for Perl may fail
Commit: https://github.com/vim/vim/commit/cebfcffa40c058119bc2f92f0db02dffd3f6affe
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 18 21:42:38 2019 +0200
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 https://github.com/vim/vim/issues/4944)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 18 Sep 2019 21:45:03 +0200 |
parents | 0a89f6f6de87 |
children | 40a1b1bc457e |
files | src/testdir/test_compiler.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_compiler.vim +++ b/src/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')