From cce293f87beb57a75ff738fade7fafadbc4a78a9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 15 Aug 2022 17:28:27 +0100 Subject: [PATCH] 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. --- src/testdir/test_undo.vim | 6 +++--- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index 596944cdf..a2f3c01da 100644 --- 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\", '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 diff --git a/src/version.c b/src/version.c index f08f6173a..a48533068 100644 --- a/src/version.c +++ b/src/version.c @@ -735,6 +735,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 216, /**/ 215, /**/ -- 2.40.0