vim-patch:8.2.0461: confirm test fails on amd64 system

Problem:    Confirm test fails on amd64 system. (Alimar Riesebieter)
Solution:   Add an extra WaitForAssert(). (Dominique Pelle)
9207d1f523
This commit is contained in:
Jan Edmund Lazo 2021-01-02 18:47:48 -05:00
parent d216314e5b
commit 30e8c1779f
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -116,5 +116,7 @@ func Test_confirm_cmd_cancel()
call WaitForAssert({-> assert_match('^\[Y\]es, (N)o, (C)ancel: *$',
\ term_getline(buf, 20))}, 1000)
call term_sendkeys(buf, "N")
call WaitForAssert({-> assert_match('^ *0,0-1 All$',
\ term_getline(buf, 20))}, 1000)
call StopVimInTerminal(buf)
endfunc