mirror of
https://github.com/neovim/neovim.git
synced 2025-11-18 16:21:41 +00:00
vim-patch:8.1.1353: undo test fails on Mac
Problem: Undo test fails on Mac.
Solution: Expect "private" on the Mac.
2b39d806f0
This commit is contained in:
@@ -391,7 +391,11 @@ funct Test_undofile()
|
|||||||
|
|
||||||
if isdirectory('/tmp')
|
if isdirectory('/tmp')
|
||||||
set undodir=/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
|
endif
|
||||||
|
|
||||||
set undodir&
|
set undodir&
|
||||||
|
|||||||
Reference in New Issue
Block a user