commit | f0447e89a52885630947510f2d1b55f665a1a20e | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 03 21:26:38 2018 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 03 21:26:38 2018 +0200 |
tree | 8bc1a1f30dcd04657b8804192b5959f8d0f9fd42 | |
parent | 851332ea9cdabf24980a7f7c293da81fa990f864 [diff] [blame] |
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.
diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim index 29d02b2..46c14d8 100644 --- a/src/testdir/test_compiler.vim +++ b/src/testdir/test_compiler.vim
@@ -5,6 +5,11 @@ 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)