diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-12-14 22:41:42 -0500 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-12-14 22:41:59 -0500 |
commit | bcc9b9335ceddf1f3ff11ae7bb2821c4f55c301b (patch) | |
tree | 409e9781a8c1f31b024e5b843f3646d7d2ad1113 | |
parent | c16529afa5c8eb0314b8c2a35eb033141f0246f9 (diff) | |
download | rneovim-bcc9b9335ceddf1f3ff11ae7bb2821c4f55c301b.tar.gz rneovim-bcc9b9335ceddf1f3ff11ae7bb2821c4f55c301b.tar.bz2 rneovim-bcc9b9335ceddf1f3ff11ae7bb2821c4f55c301b.zip |
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.
https://github.com/vim/vim/commit/56242f2b08737677812513c447955579a19aa620
-rw-r--r-- | src/nvim/testdir/test_undo.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_undo.vim b/src/nvim/testdir/test_undo.vim index 83ede1dc37..9729ca9f57 100644 --- a/src/nvim/testdir/test_undo.vim +++ b/src/nvim/testdir/test_undo.vim @@ -373,7 +373,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 pathsep = has('win32') ? '\' : '/' let cwd = substitute(cwd . pathsep . 'Xundofoo', pathsep, '%', 'g') |