]> granicus.if.org Git - vim/commitdiff
patch 8.1.0807: session test fails on MS-Windows v8.1.0807
authorBram Moolenaar <Bram@vim.org>
Thu, 24 Jan 2019 14:57:30 +0000 (15:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Jan 2019 14:57:30 +0000 (15:57 +0100)
Problem:    Session test fails on MS-Windows.
Solution:   Don't try creating file with illegal name.

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

index 145c91cba5f7a2dcc375f1225bd6b11aac43a700..93a68ad0fa1e347e4fded3ac8a7b79be8fae4138 100644 (file)
@@ -427,6 +427,10 @@ func Test_mksession_no_errmsg()
 endfunc
 
 func Test_mksession_quote_in_filename()
+  if !has('unix')
+    " only Unix can handle this weird filename
+    return
+  endif
   let v:errmsg = ''
   %bwipe!
   split another
index 509541dff017147eed51c2cfe19ab544ee5118b0..da4b43c776c056ce94b07a5df59647c1fa4d031b 100644 (file)
@@ -791,6 +791,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    807,
 /**/
     806,
 /**/