patch 9.1.0937: test_undolist() is flaky
Commit:
https://github.com/vim/vim/commit/381ff7726efee9a0a7c2f79e01340fa972cafdfd
Author: Christian Brabandt <[email protected]>
Date: Mon Dec 16 22:28:28 2024 +0100
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 <[email protected]>
diff --git a/src/testdir/test_undo.vim b/src/testdir/test_undo.vim
index 75ee4a5db..844ba77ea 100644
--- a/src/testdir/test_undo.vim
+++ b/src/testdir/test_undo.vim
@@ -282,7 +282,8 @@ func Test_undolist()
w Xundolist.txt
defer delete('Xundolist.txt')
let lastline = execute('undolist')->split("
")[-1]
- call assert_match("ago 1", lastline)
+ call assert_match('seconds\? ago \?1', lastline)
+
endif
bw!
endfunc
diff --git a/src/version.c b/src/version.c
index eb37def78..b52eaaeda 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 937,
/**/
936,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tNIti-0010Pw-MT%40256bit.org.