From: Bram Moolenaar Date: Sun, 19 May 2019 14:38:56 +0000 (+0200) Subject: patch 8.1.1353: undo test fails on Mac X-Git-Tag: v8.1.1353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b39d806f04c1a474b6d689a7970253850d4adb8;p=thirdparty%2Fvim.git patch 8.1.1353: undo test fails on Mac Problem: Undo test fails on Mac. Solution: Expect "private" on the Mac. --- diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index ba1c861f8b..1440660adf 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 f349d7b733..d163546831 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, /**/