aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2018-11-15 05:42:18 -0500
committerJustin M. Keyes <justinkz@gmail.com>2018-11-15 11:42:18 +0100
commitd81b9d5ec536ff7a9dbb35892adb1d1cd1651026 (patch)
tree79ad9885a66e1c6dfdb358aa97753c629faf307e
parent3295083d5aefd469a08ff96a0ddab097235c685e (diff)
downloadrneovim-d81b9d5ec536ff7a9dbb35892adb1d1cd1651026.tar.gz
rneovim-d81b9d5ec536ff7a9dbb35892adb1d1cd1651026.tar.bz2
rneovim-d81b9d5ec536ff7a9dbb35892adb1d1cd1651026.zip
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. https://github.com/vim/vim/commit/f0447e89a52885630947510f2d1b55f665a1a20e
-rw-r--r--src/nvim/testdir/test_compiler.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim
index 84fba0f9a4..4600a28da5 100644
--- a/src/nvim/testdir/test_compiler.vim
+++ b/src/nvim/testdir/test_compiler.vim
@@ -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)