diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-19 16:38:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-19 16:38:56 +0200 |
commit | 2b39d806f04c1a474b6d689a7970253850d4adb8 (patch) | |
tree | 4ce4117895ab567d05a58c00cc9f2e141769f753 /src/testdir/test_undo.vim | |
parent | e9ebc9a91cac357fd4888f4b71fdff7d97b41160 (diff) | |
download | vim-git-2b39d806f04c1a474b6d689a7970253850d4adb8.tar.gz |
patch 8.1.1353: undo test fails on Macv8.1.1353
Problem: Undo test fails on Mac.
Solution: Expect "private" on the Mac.
Diffstat (limited to 'src/testdir/test_undo.vim')
-rw-r--r-- | src/testdir/test_undo.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index ba1c861f8..1440660ad 100644 --- a/src/testdir/test_undo.vim +++ b/src/testdir/test_undo.vim @@ -442,7 +442,11 @@ funct Test_undofile() if isdirectory('/tmp') set undodir=/tmp - call assert_equal('/tmp/%tmp%file', undofile('///tmp/file')) + if has('osx') + call assert_equal('/tmp/%private%tmp%file', undofile('///tmp/file')) + else + call assert_equal('/tmp/%tmp%file', undofile('///tmp/file')) + endif endif set undodir& |