]> granicus.if.org Git - vim/commitdiff
patch 8.1.2054: compiler test for Perl may fail v8.1.2054
authorBram Moolenaar <Bram@vim.org>
Wed, 18 Sep 2019 19:42:38 +0000 (21:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 18 Sep 2019 19:42:38 +0000 (21:42 +0200)
Problem:    Compiler test for Perl may fail.
Solution:   Accept any error line number. (James McCoy, closes #4944)

src/testdir/test_compiler.vim
src/version.c

index f561e84a3818e3a65b6f0bb04a80af9e54f87921..40d3cdbdae6a561fe8e63cf9e994489522da84ec 100644 (file)
@@ -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')
index debc3d7b1378a741916099146f5a027a87e06cff..8720886895fc61c7ae73ff223ff90a5301253cb5 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2054,
 /**/
     2053,
 /**/