diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-14 15:48:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-14 15:48:48 +0100 |
commit | 56242f2b08737677812513c447955579a19aa620 (patch) | |
tree | 3ef7b60ee3da72996c944644cee19eca76a47734 | |
parent | 5f5e203c92365ac6399de3663637b73bf9fb6dfa (diff) |
patch 8.1.0585: undo test may fail on MS-Windowsv8.1.0585
Problem: Undo test may fail on MS-Windows.
Solution: Also handle lower case drive letters.
-rw-r--r-- | src/testdir/test_undo.vim | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index e06abff93b..7c93e23153 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 a25f262b88..2c8b3acc0d 100644 --- 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, |