From 2b39d806f04c1a474b6d689a7970253850d4adb8 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 19 May 2019 16:38:56 +0200 Subject: patch 8.1.1353: undo test fails on Mac Problem: Undo test fails on Mac. Solution: Expect "private" on the Mac. --- src/testdir/test_undo.vim | 6 +++++- src/version.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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& diff --git a/src/version.c b/src/version.c index f349d7b73..d16354683 100644 --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1353, /**/ 1352, /**/ -- cgit v1.2.1