From: Bram Moolenaar Date: Mon, 15 Aug 2022 16:28:27 +0000 (+0100) Subject: patch 9.0.0216: undo earlier test sometimes fails on MS-Windows X-Git-Tag: v9.0.0216 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cce293f87beb57a75ff738fade7fafadbc4a78a9;p=thirdparty%2Fvim.git 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. --- diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim index 596944cdf3..a2f3c01daf 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 f08f6173af..a48533068b 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, /**/