mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.1.0937: test_undolist() is flaky
Problem: test_undolist() is flaky Solution: allow to match one additional optional whitespace char Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
6a38aff218
commit
381ff7726e
@ -282,7 +282,8 @@ func Test_undolist()
|
|||||||
w Xundolist.txt
|
w Xundolist.txt
|
||||||
defer delete('Xundolist.txt')
|
defer delete('Xundolist.txt')
|
||||||
let lastline = execute('undolist')->split("\n")[-1]
|
let lastline = execute('undolist')->split("\n")[-1]
|
||||||
call assert_match("ago 1", lastline)
|
call assert_match('seconds\? ago \?1', lastline)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
bw!
|
bw!
|
||||||
endfunc
|
endfunc
|
||||||
|
@ -704,6 +704,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 */
|
||||||
|
/**/
|
||||||
|
937,
|
||||||
/**/
|
/**/
|
||||||
936,
|
936,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user