summaryrefslogtreecommitdiff
path: root/src/testdir/test_undo.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-28 00:42:21 +0100
committerBram Moolenaar <Bram@vim.org>2019-10-28 00:42:21 +0100
commit077ff436a77f95c69da219af8cd8f553ff4f9ff8 (patch)
tree51317185c5b5f98046f386dfe672dcf4cab160db /src/testdir/test_undo.vim
parentefae76ab1a43d5a628d8c2fa4218ace6ba597f5d (diff)
downloadvim-git-077ff436a77f95c69da219af8cd8f553ff4f9ff8.tar.gz
patch 8.1.2230: MS-Windows: testing external commands can be improvedv8.1.2230
Problem: MS-Windows: testing external commands can be improved. Solution: Adjust tests, remove duplicate test. (closes #4928)
Diffstat (limited to 'src/testdir/test_undo.vim')
-rw-r--r--src/testdir/test_undo.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
index 4a534ae63..12d835b48 100644
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -458,7 +458,7 @@ funct Test_undofile()
" Test undofile() with 'undodir' set to a non-existing directory.
call assert_equal('', 'Xundofoo'->undofile())
- if isdirectory('/tmp')
+ if !has('win32') && isdirectory('/tmp')
set undodir=/tmp
if has('osx')
call assert_equal('/tmp/%private%tmp%file', undofile('///tmp/file'))