mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
patch 9.0.1702: Undo test is flaky
Problem: Undo test is flaky. Solution: Apply filter and change time to "1 second ago" in both dumps. closes: #12771 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
This commit is contained in:
committed by
Christian Brabandt
parent
2f339aad6c
commit
9c30f43899
2
src/testdir/dumps/Test_undo_after_write_1.vim
Normal file
2
src/testdir/dumps/Test_undo_after_write_1.vim
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
" Filter that changes undo time message to "1 second ago".
|
||||||
|
6s+|\d| |s|e|c|o|n|d|s| |a|g|o| @19|+|1| |s|e|c|o|n|d| |a|g|o| @20|+e
|
@ -1,2 +1,2 @@
|
|||||||
" Filter that changes the "1 second ago" message to "0 seconds ago".
|
" Filter that changes undo time message to "1 second ago".
|
||||||
6s+|1| |s|e|c|o|n|d| |a|g|o| @18|+|0| |s|e|c|o|n|d|s| |a|g|o| @17|+e
|
6s+|\d| |s|e|c|o|n|d|s| |a|g|o| @17|+|1| |s|e|c|o|n|d| |a|g|o| @18|+e
|
||||||
|
@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
1702,
|
||||||
/**/
|
/**/
|
||||||
1701,
|
1701,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user