Merge pull request #921 from ychin/fix-flaky-suspend-test

Fix flaky test_suspend script test
This commit is contained in:
Yee Cheng Chin
2019-07-07 00:35:10 -07:00
committed by GitHub
+1
View File
@@ -54,6 +54,7 @@ func Test_suspend()
" Quit gracefully to dump coverage information.
call term_sendkeys(buf, ":qall!\<CR>")
call term_wait(buf)
call WaitForAssert({-> assert_match('[$#] $', term_getline(buf, '.'))})
call StopShellInTerminal(buf)
exe buf . 'bwipe!'