vim-patch:8.1.0146: when $LANG is set the compiler test may fail (#9238)

Problem:    When $LANG is set the compiler test may fail.
Solution:   Unset $LANG.
f0447e89a5
This commit is contained in:
Jan Edmund Lazo
2018-11-15 05:42:18 -05:00
committed by Justin M. Keyes
parent 3295083d5a
commit d81b9d5ec5

View 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)