aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-08-16 11:23:49 +0800
committerGitHub <noreply@github.com>2022-08-16 11:23:49 +0800
commitd5d6ed311b001c8e11dc8d69f9be421d6a7e286e (patch)
tree94303b9ebe495f5192ae12440c6f1c48b8aa6506
parent63e4436d8e9d25548cdc7c5b7e334ef164c150fc (diff)
downloadrneovim-d5d6ed311b001c8e11dc8d69f9be421d6a7e286e.tar.gz
rneovim-d5d6ed311b001c8e11dc8d69f9be421d6a7e286e.tar.bz2
rneovim-d5d6ed311b001c8e11dc8d69f9be421d6a7e286e.zip
vim-patch:9.0.0216: undo earlier test sometimes fails on MS-Windows (#19790)
Problem: Undo earlier test sometimes fails on MS-Windows. Solution: Use another file name. https://github.com/vim/vim/commit/cce293f87beb57a75ff738fade7fafadbc4a78a9
-rw-r--r--src/nvim/testdir/test_undo.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_undo.vim b/src/nvim/testdir/test_undo.vim
index a9ec405aa4..eb47af08d7 100644
--- a/src/nvim/testdir/test_undo.vim
+++ b/src/nvim/testdir/test_undo.vim
@@ -336,7 +336,7 @@ func Test_undofile_earlier()
" create undofile with timestamps older than Vim startup time.
let t0 = localtime() - 43200
call test_settime(t0)
- new Xfile
+ new XfileEarlier
call feedkeys("ione\<Esc>", 'xt')
set ul=100
call test_settime(t0 + 1)
@@ -350,12 +350,12 @@ func Test_undofile_earlier()
bwipe!
" restore normal timestamps.
call test_settime(0)
- new Xfile
+ new XfileEarlier
rundo Xundofile
earlier 1d
call assert_equal('', getline(1))
bwipe!
- call delete('Xfile')
+ call delete('XfileEarlier')
call delete('Xundofile')
endfunc