0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.1353: undo test fails on Mac

Problem:    Undo test fails on Mac.
Solution:   Expect "private" on the Mac.
This commit is contained in:
Bram Moolenaar
2019-05-19 16:38:56 +02:00
parent e9ebc9a91c
commit 2b39d806f0
2 changed files with 7 additions and 1 deletions

View File

@@ -442,8 +442,12 @@ funct Test_undofile()
if isdirectory('/tmp') if isdirectory('/tmp')
set undodir=/tmp set undodir=/tmp
if has('osx')
call assert_equal('/tmp/%private%tmp%file', undofile('///tmp/file'))
else
call assert_equal('/tmp/%tmp%file', undofile('///tmp/file')) call assert_equal('/tmp/%tmp%file', undofile('///tmp/file'))
endif endif
endif
set undodir& set undodir&
endfunc endfunc

View File

@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1353,
/**/ /**/
1352, 1352,
/**/ /**/