Mercurial > vim
changeset 16702:16a698aeeec1 v8.1.1353
patch 8.1.1353: undo test fails on Mac
commit https://github.com/vim/vim/commit/2b39d806f04c1a474b6d689a7970253850d4adb8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 19 16:38:56 2019 +0200
patch 8.1.1353: undo test fails on Mac
Problem: Undo test fails on Mac.
Solution: Expect "private" on the Mac.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 May 2019 16:45:05 +0200 |
parents | be9769416254 |
children | d4eb78b4b086 |
files | src/testdir/test_undo.vim src/version.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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&