diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-02-11 08:20:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 08:20:31 +0800 |
commit | c9b0fe1f41ebaa6815a69ac614a5b2d1bab6f720 (patch) | |
tree | 762336278e6c7932f2217ff023144861cbfdd9f4 | |
parent | 24aebbb3de83ef57c01a92ee6315eb8a6e15e402 (diff) | |
download | rneovim-c9b0fe1f41ebaa6815a69ac614a5b2d1bab6f720.tar.gz rneovim-c9b0fe1f41ebaa6815a69ac614a5b2d1bab6f720.tar.bz2 rneovim-c9b0fe1f41ebaa6815a69ac614a5b2d1bab6f720.zip |
vim-patch:9.0.1297: wrong value for $LC_CTYPE makes the environ test fail (#22210)
Problem: Wrong value for $LC_CTYPE makes the environ test fail.
Solution: Unset $LC_CTYPE when running tests. (closes vim/vim#11963)
https://github.com/vim/vim/commit/962d91643520ec3748fcf5af3263d89ccfcdda92
Co-authored-by: WuerfelDev <dev@wuerfeldev.de>
-rw-r--r-- | src/nvim/testdir/test_environ.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_environ.vim b/src/nvim/testdir/test_environ.vim index d8344817f5..b5dbdce104 100644 --- a/src/nvim/testdir/test_environ.vim +++ b/src/nvim/testdir/test_environ.vim @@ -73,7 +73,7 @@ func Test_mac_locale() " If $LANG is not set then the system locale will be used. " Run Vim after unsetting all the locale environmental vars, and capture the " output of :lang. - let lang_results = system("unset LANG; unset LC_MESSAGES; " .. + let lang_results = system("unset LANG; unset LC_MESSAGES; unset LC_CTYPE; " .. \ shellescape(v:progpath) .. \ " --clean -esX -c 'redir @a' -c 'lang' -c 'put a' -c 'print' -c 'qa!' ") |