diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-22 12:01:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-22 12:01:34 +0100 |
commit | 21d393a12be86126d9326ea0c244d3a101b77151 (patch) | |
tree | 760a84c655860ec8a8831a7367d0ae8d91f7dc5a | |
parent | 5c645a25bb8e6d766db720a44b9ceeff39d1e92b (diff) | |
download | vim-git-21d393a12be86126d9326ea0c244d3a101b77151.tar.gz |
patch 9.0.0539: long message test can be flakyv9.0.0539
Problem: Long message test can be flaky.
Solution: Wait for more prompt instead of ruler.
-rw-r--r-- | src/testdir/test_messages.vim | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/testdir/test_messages.vim b/src/testdir/test_messages.vim index 140f1c351..a92a58015 100644 --- a/src/testdir/test_messages.vim +++ b/src/testdir/test_messages.vim @@ -366,7 +366,8 @@ func Test_quit_long_message() echom range(9999)->join("\x01") END call writefile(content, 'Xtest_quit_message') - let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6}) + let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6, wait_for_ruler: 0}) + call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 6))}) call term_sendkeys(buf, "q") call VerifyScreenDump(buf, 'Test_quit_long_message', {}) diff --git a/src/version.c b/src/version.c index 0bbeae6c0..359c70cce 100644 --- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 539, +/**/ 538, /**/ 537, |