diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-01-03 01:07:11 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-01-03 01:07:21 -0500 |
commit | 111e46582cfc24e490fe42457c6b56aac8306ad2 (patch) | |
tree | 8c5e83ddf56e471bed4c89bf2f96015a5f2da381 | |
parent | 8e408c95fe2a79f8dff6672e4ada77c972457a6a (diff) | |
download | rneovim-111e46582cfc24e490fe42457c6b56aac8306ad2.tar.gz rneovim-111e46582cfc24e490fe42457c6b56aac8306ad2.tar.bz2 rneovim-111e46582cfc24e490fe42457c6b56aac8306ad2.zip |
vim-patch:8.1.0653: arglist test fails on MS-windows
Problem: Arglist test fails on MS-windows.
Solution: Only use a file name with a double quote on Unix.
https://github.com/vim/vim/commit/3de8c2d1f027410db6a06f0fcd3355d96c8b8596
-rw-r--r-- | src/nvim/testdir/test_arglist.vim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_arglist.vim b/src/nvim/testdir/test_arglist.vim index 320ff20b27..368fc9810d 100644 --- a/src/nvim/testdir/test_arglist.vim +++ b/src/nvim/testdir/test_arglist.vim @@ -171,9 +171,12 @@ func Test_argument() endfunc func Test_args_with_quote() - args \"foobar - call assert_equal('"foobar', argv(0)) - %argdelete + " Only on Unix can a file name include a double quote. + if has('unix') + args \"foobar + call assert_equal('"foobar', argv(0)) + %argdelete + endif endfunc " Test for 0argadd and 0argedit |