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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user