From 111e46582cfc24e490fe42457c6b56aac8306ad2 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 3 Jan 2019 01:07:11 -0500 Subject: 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 --- src/nvim/testdir/test_arglist.vim | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') 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 -- cgit