From: Bram Moolenaar Date: Fri, 14 Dec 2018 14:48:48 +0000 (+0100) Subject: patch 8.1.0585: undo test may fail on MS-Windows X-Git-Tag: v8.1.0585 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56242f2b08737677812513c447955579a19aa620;p=vim 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. --- diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index e06abff93..7c93e2315 100644 --- 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') diff --git a/src/version.c b/src/version.c index a25f262b8..2c8b3acc0 100644 --- a/src/version.c +++ b/src/version.c @@ -799,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 585, /**/ 584, /**/