Skip to content

Commit cebfcff

Browse files
committed
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 #4944)
1 parent d103ee7 commit cebfcff

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

src/testdir/test_compiler.vim

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ func Test_compiler()
2828
w!
2929
call feedkeys(":make\<CR>\<CR>", 'tx')
3030
let a=execute('clist')
31-
call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" "
32-
\ . "requires explicit package name", a)
31+
call assert_match('\n \d\+ Xfoo.pl:3: Global symbol "$foo" '
32+
\ . 'requires explicit package name', a)
33+
3334

3435
let &shellslash = save_shellslash
3536
call delete('Xfoo.pl')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ static char *(features[]) =
757757

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
2054,
760762
/**/
761763
2053,
762764
/**/

0 commit comments

Comments
 (0)