]> granicus.if.org Git - vim/commitdiff
patch 8.1.2098: mksession test fails on MS-Windows v8.1.2098
authorBram Moolenaar <Bram@vim.org>
Sat, 28 Sep 2019 17:29:04 +0000 (19:29 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 28 Sep 2019 17:29:04 +0000 (19:29 +0200)
Problem:    mksession test fails on MS-Windows.
Solution:   Skip testing with backslashes on MS-Windows.

src/testdir/test_mksession.vim
src/version.c

index 168ced473fc81987f8ed3e8ff8809f51e15cfcd9..7af5652c228c8d006d05529aba13ab712bfb7d1f 100644 (file)
@@ -565,6 +565,9 @@ endfunc
 
 " Test for changing backslash to forward slash in filenames
 func Test_mksession_slash()
+  if exists('+shellslash')
+    throw 'Skipped: cannot use backslash in file name'
+  endif
   enew
   %bwipe!
   e a\\b\\c
index 736a632fff73a19daf54d1eeaf3ad6e60060021f..20a028515bfaa2c37116e83cb850d4eff1eaf43c 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2098,
 /**/
     2097,
 /**/