# HG changeset patch # User Bram Moolenaar # Date 1544799607 -3600 # Node ID 83a366325158bf55fc49ac0a0bf5118bcdfe2863 # Parent d76c50aabb04e8e805ca1efb418a59fd35ddbea8 patch 8.1.0585: undo test may fail on MS-Windows commit https://github.com/vim/vim/commit/56242f2b08737677812513c447955579a19aa620 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim --- 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 --- 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,