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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user