diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-28 19:29:35 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-28 19:29:35 +0100 |
commit | 3de8c2d1f027410db6a06f0fcd3355d96c8b8596 (patch) | |
tree | ba665e1ea1ff2aba2b10985b234fa48b50a476d7 /src/testdir/test_arglist.vim | |
parent | 6d9e71ad994fd428ecea76741376807cd18308ec (diff) |
patch 8.1.0653: arglist test fails on MS-windowsv8.1.0653
Problem: Arglist test fails on MS-windows.
Solution: Only use a file name with a double quote on Unix.
Diffstat (limited to 'src/testdir/test_arglist.vim')
-rw-r--r-- | src/testdir/test_arglist.vim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/testdir/test_arglist.vim b/src/testdir/test_arglist.vim index 72e727ff3f..ad44a855e0 100644 --- a/src/testdir/test_arglist.vim +++ b/src/testdir/test_arglist.vim @@ -218,9 +218,12 @@ func Test_list_arguments() 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 |