]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.1.0653: arglist test fails on MS-windows v8.1.0653
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Dec 2018 18:29:35 +0000 (19:29 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Dec 2018 18:29:35 +0000 (19:29 +0100)
Problem:    Arglist test fails on MS-windows.
Solution:   Only use a file name with a double quote on Unix.

src/testdir/test_arglist.vim
src/version.c

index 72e727ff3f44116fd0a4b59bc6cadae5dc955502..ad44a855e02d51f4b0a063d426497a884199b422 100644 (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
index 1579dec60d3288b1854459ba976a9ec27434f951..0c76e1205135266798ec29493bb72d0aa380ead2 100644 (file)
@@ -799,6 +799,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    653,
 /**/
     652,
 /**/