1
0
forked from aniani/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.
This commit is contained in:
Bram Moolenaar
2018-12-28 19:29:35 +01:00
parent 6d9e71ad99
commit 3de8c2d1f0
2 changed files with 8 additions and 3 deletions

View File

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

View File

@@ -799,6 +799,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
653,
/**/
652,
/**/