0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2018-07-03 21:26:38 +02:00
parent 851332ea9c
commit f0447e89a5
2 changed files with 7 additions and 0 deletions

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)