aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrancisco Giordano <frangio.1@gmail.com>2019-05-19 16:39:26 -0300
committerFrancisco Giordano <frangio.1@gmail.com>2019-05-19 17:03:58 -0300
commit16cac1d5f58afb4bf1e2cceaa2b2e3f9a469eef1 (patch)
tree59785aab593e2f03a53191660477fe19c0aac307 /src
parent8b3c0b87ffdf88c7f299720c625f50cdf67c8b3a (diff)
downloadrneovim-16cac1d5f58afb4bf1e2cceaa2b2e3f9a469eef1.tar.gz
rneovim-16cac1d5f58afb4bf1e2cceaa2b2e3f9a469eef1.tar.bz2
rneovim-16cac1d5f58afb4bf1e2cceaa2b2e3f9a469eef1.zip
vim-patch:8.1.1353: undo test fails on Mac
Problem: Undo test fails on Mac. Solution: Expect "private" on the Mac. https://github.com/vim/vim/commit/2b39d806f04c1a474b6d689a7970253850d4adb8
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_undo.vim6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_undo.vim b/src/nvim/testdir/test_undo.vim
index 08facb8344..0cb5dc4033 100644
--- a/src/nvim/testdir/test_undo.vim
+++ b/src/nvim/testdir/test_undo.vim
@@ -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&