0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

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 endfunc
func Test_args_with_quote() func Test_args_with_quote()
" Only on Unix can a file name include a double quote.
if has('unix')
args \"foobar args \"foobar
call assert_equal('"foobar', argv(0)) call assert_equal('"foobar', argv(0))
%argdelete %argdelete
endif
endfunc endfunc
" Test for 0argadd and 0argedit " Test for 0argadd and 0argedit

View File

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