changeset 15150:83a366325158 v8.1.0585

patch 8.1.0585: undo test may fail on MS-Windows commit https://github.com/vim/vim/commit/56242f2b08737677812513c447955579a19aa620 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 14 15:48:48 2018 +0100 patch 8.1.0585: undo test may fail on MS-Windows Problem: Undo test may fail on MS-Windows. Solution: Also handle lower case drive letters.
author Bram Moolenaar <Bram@vim.org>
date Fri, 14 Dec 2018 16:00:07 +0100
parents d76c50aabb04
children 2721834e8539
files src/testdir/test_undo.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -426,7 +426,7 @@ funct Test_undofile()
   let cwd = getcwd()
   if has('win32')
     " Replace windows drive such as C:... into C%...
-    let cwd = substitute(cwd, '^\([A-Z]\):', '\1%', 'g')
+    let cwd = substitute(cwd, '^\([a-zA-Z]\):', '\1%', 'g')
   endif
   let cwd = substitute(cwd . '/Xundofoo', '/', '%', 'g')
   if has('persistent_undo')
--- a/src/version.c
+++ b/src/version.c
@@ -800,6 +800,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    585,
+/**/
     584,
 /**/
     583,