Mercurial > vim
changeset 29752:b01151812350 v9.0.0216
patch 9.0.0216: undo earlier test sometimes fails on MS-Windows
Commit: https://github.com/vim/vim/commit/cce293f87beb57a75ff738fade7fafadbc4a78a9
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 15 17:28:27 2022 +0100
patch 9.0.0216: undo earlier test sometimes fails on MS-Windows
Problem: Undo earlier test sometimes fails on MS-Windows.
Solution: Use another file name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Aug 2022 18:30:04 +0200 |
parents | 2bf6e39ee4c9 |
children | dc388902b2f7 |
files | src/testdir/test_undo.vim src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/testdir/test_undo.vim +++ b/src/testdir/test_undo.vim @@ -339,7 +339,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) @@ -353,12 +353,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