diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-07-03 21:26:38 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-07-03 21:26:38 +0200 |
commit | f0447e89a52885630947510f2d1b55f665a1a20e (patch) | |
tree | 8bc1a1f30dcd04657b8804192b5959f8d0f9fd42 | |
parent | 851332ea9cdabf24980a7f7c293da81fa990f864 (diff) | |
download | vim-git-f0447e89a52885630947510f2d1b55f665a1a20e.tar.gz |
patch 8.1.0146: when $LANG is set the compiler test may failv8.1.0146
Problem: When $LANG is set the compiler test may fail.
Solution: Unset $LANG.
-rw-r--r-- | src/testdir/test_compiler.vim | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_compiler.vim b/src/testdir/test_compiler.vim index 29d02b213..46c14d8bc 100644 --- a/src/testdir/test_compiler.vim +++ b/src/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) diff --git a/src/version.c b/src/version.c index ea289c7ec..cfc3b2309 100644 --- a/src/version.c +++ b/src/version.c @@ -790,6 +790,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 146, +/**/ 145, /**/ 144, |