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.
3de8c2d1f0
This commit is contained in:
Jan Edmund Lazo 2019-01-03 01:07:11 -05:00
parent 8e408c95fe
commit 111e46582c

View File

@ -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