# HG changeset patch # User Bram Moolenaar # Date 1558277105 -7200 # Node ID 16a698aeeec1542ca216f78a570b1fa8e831a8ef # Parent be9769416254bd5a50f9819604cda0a557413dd5 patch 8.1.1353: undo test fails on Mac commit https://github.com/vim/vim/commit/2b39d806f04c1a474b6d689a7970253850d4adb8 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -768,6 +768,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1353, +/**/ 1352, /**/ 1351,