# HG changeset patch # User Bram Moolenaar # Date 1660581004 -7200 # Node ID b011518123503652688a00398ace315aec3363f6 # Parent 2bf6e39ee4c905ad0f01e956549f594f0a919e22 patch 9.0.0216: undo earlier test sometimes fails on MS-Windows Commit: https://github.com/vim/vim/commit/cce293f87beb57a75ff738fade7fafadbc4a78a9 Author: Bram Moolenaar 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. diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim --- 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 --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 216, +/**/ 215, /**/ 214,