mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +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')
|
||||
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&
|
||||
|
||||
Reference in New Issue
Block a user