]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.0146: when $LANG is set the compiler test may fail v8.1.0146
authorBram Moolenaar <Bram@vim.org>
Tue, 3 Jul 2018 19:26:38 +0000 (21:26 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 3 Jul 2018 19:26:38 +0000 (21:26 +0200)
Problem:    When $LANG is set the compiler test may fail.
Solution:   Unset $LANG.

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

index 29d02b213d75234ccefc3d8c6c883316ff3f951f..46c14d8bc391a3f496e72ae42307a1cd59f2dcf4 100644 (file)
@@ -5,6 +5,11 @@ func Test_compiler()
     return
   endif
 
+  " $LANG changes the output of Perl.
+  if $LANG != ''
+    unlet $LANG
+  endif
+
   e Xfoo.pl
   compiler perl
   call assert_equal('perl', b:current_compiler)
index ea289c7ec7bee7f7aaf3befd4360d2d9ffc6ee6f..cfc3b2309fc08b50bc053ffc9829245ca7f7ac5a 100644 (file)
@@ -789,6 +789,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    146,
 /**/
     145,
 /**/