diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-18 21:52:19 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-21 08:43:06 -0400 |
commit | 690cd4f012cef0ed1817ad55db84dc3d0a51e2d0 (patch) | |
tree | a6e73e7fab91802c5782f57c11969fddd36c2dc0 | |
parent | d6f658e38fc6a44dfc43af9eef3ae09452a8c2a5 (diff) | |
download | rneovim-690cd4f012cef0ed1817ad55db84dc3d0a51e2d0.tar.gz rneovim-690cd4f012cef0ed1817ad55db84dc3d0a51e2d0.tar.bz2 rneovim-690cd4f012cef0ed1817ad55db84dc3d0a51e2d0.zip |
vim-patch:8.1.1783: MS-Windows: compiler test may fail when using %:S
Problem: MS-Windows: compiler test may fail when using %:S.
Solution: Reset 'shellslash'.
https://github.com/vim/vim/commit/dff2adc8ddcb6c8f3390a82c321362f8d6756fb8
-rw-r--r-- | src/nvim/testdir/test_compiler.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_compiler.vim b/src/nvim/testdir/test_compiler.vim index 46c14d8bc3..f561e84a38 100644 --- a/src/nvim/testdir/test_compiler.vim +++ b/src/nvim/testdir/test_compiler.vim @@ -10,6 +10,10 @@ func Test_compiler() unlet $LANG endif + " %:S does not work properly with 'shellslash' set + let save_shellslash = &shellslash + set noshellslash + e Xfoo.pl compiler perl call assert_equal('perl', b:current_compiler) @@ -27,6 +31,7 @@ func Test_compiler() call assert_match("\n 1 Xfoo.pl:3: Global symbol \"\$foo\" " \ . "requires explicit package name", a) + let &shellslash = save_shellslash call delete('Xfoo.pl') bw! endfunc |