changeset 14260:9ff35e144467 v8.1.0146

patch 8.1.0146: when $LANG is set the compiler test may fail commit https://github.com/vim/vim/commit/f0447e89a52885630947510f2d1b55f665a1a20e Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 3 21:26:38 2018 +0200 patch 8.1.0146: when $LANG is set the compiler test may fail Problem: When $LANG is set the compiler test may fail. Solution: Unset $LANG.
author Christian Brabandt <cb@256bit.org>
date Tue, 03 Jul 2018 21:30:07 +0200
parents 73bc88f9115f
children 72c39d84dc3e
files src/testdir/test_compiler.vim src/version.c
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_compiler.vim
+++ b/src/testdir/test_compiler.vim
@@ -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)
--- a/src/version.c
+++ b/src/version.c
@@ -790,6 +790,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    146,
+/**/
     145,
 /**/
     144,