diff options
-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 |