Skip to content

Commit c222e33

Browse files
authored
Merge pull request #921 from ychin/fix-flaky-suspend-test
Fix flaky test_suspend script test
2 parents e9b9613 + 7139454 commit c222e33

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/testdir/test_suspend.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ func Test_suspend()
5454
" Quit gracefully to dump coverage information.
5555
call term_sendkeys(buf, ":qall!\<CR>")
5656
call term_wait(buf)
57+
call WaitForAssert({-> assert_match('[$#] $', term_getline(buf, '.'))})
5758
call StopShellInTerminal(buf)
5859

5960
exe buf . 'bwipe!'

0 commit comments

Comments
 (0)