Mercurial > vim
diff src/testdir/test_undo.vim @ 18473:0eeaa9a6e4e7 v8.1.2230
patch 8.1.2230: MS-Windows: testing external commands can be improved
Commit: https://github.com/vim/vim/commit/077ff436a77f95c69da219af8cd8f553ff4f9ff8
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 28 00:42:21 2019 +0100
patch 8.1.2230: MS-Windows: testing external commands can be improved
Problem: MS-Windows: testing external commands can be improved.
Solution: Adjust tests, remove duplicate test. (closes https://github.com/vim/vim/issues/4928)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Oct 2019 00:45:03 +0100 |
parents | 187742518187 |
children | aad0d64cc133 |
line wrap: on
line diff
--- 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'))