mirror of
https://github.com/vim/vim.git
synced 2025-07-04 23:07:33 -04:00
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.
This commit is contained in:
parent
8a77d208ff
commit
cce293f87b
@ -339,7 +339,7 @@ func Test_undofile_earlier()
|
|||||||
" create undofile with timestamps older than Vim startup time.
|
" create undofile with timestamps older than Vim startup time.
|
||||||
let t0 = localtime() - 43200
|
let t0 = localtime() - 43200
|
||||||
call test_settime(t0)
|
call test_settime(t0)
|
||||||
new Xfile
|
new XfileEarlier
|
||||||
call feedkeys("ione\<Esc>", 'xt')
|
call feedkeys("ione\<Esc>", 'xt')
|
||||||
set ul=100
|
set ul=100
|
||||||
call test_settime(t0 + 1)
|
call test_settime(t0 + 1)
|
||||||
@ -353,12 +353,12 @@ func Test_undofile_earlier()
|
|||||||
bwipe!
|
bwipe!
|
||||||
" restore normal timestamps.
|
" restore normal timestamps.
|
||||||
call test_settime(0)
|
call test_settime(0)
|
||||||
new Xfile
|
new XfileEarlier
|
||||||
rundo Xundofile
|
rundo Xundofile
|
||||||
earlier 1d
|
earlier 1d
|
||||||
call assert_equal('', getline(1))
|
call assert_equal('', getline(1))
|
||||||
bwipe!
|
bwipe!
|
||||||
call delete('Xfile')
|
call delete('XfileEarlier')
|
||||||
call delete('Xundofile')
|
call delete('Xundofile')
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
@ -735,6 +735,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
216,
|
||||||
/**/
|
/**/
|
||||||
215,
|
215,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user