Permalink
Browse files

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.
  • Loading branch information...
brammool committed Jul 3, 2018
1 parent 851332e commit f0447e89a52885630947510f2d1b55f665a1a20e
Showing with 7 additions and 0 deletions.
  1. +5 −0 src/testdir/test_compiler.vim
  2. +2 −0 src/version.c
@@ -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)
@@ -789,6 +789,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
146,
/**/
145,
/**/

0 comments on commit f0447e8

Please sign in to comment.