mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
d216314e5b
commit
30e8c1779f
@ -116,5 +116,7 @@ func Test_confirm_cmd_cancel()
|
|||||||
call WaitForAssert({-> assert_match('^\[Y\]es, (N)o, (C)ancel: *$',
|
call WaitForAssert({-> assert_match('^\[Y\]es, (N)o, (C)ancel: *$',
|
||||||
\ term_getline(buf, 20))}, 1000)
|
\ term_getline(buf, 20))}, 1000)
|
||||||
call term_sendkeys(buf, "N")
|
call term_sendkeys(buf, "N")
|
||||||
|
call WaitForAssert({-> assert_match('^ *0,0-1 All$',
|
||||||
|
\ term_getline(buf, 20))}, 1000)
|
||||||
call StopVimInTerminal(buf)
|
call StopVimInTerminal(buf)
|
||||||
endfunc
|
endfunc
|
||||||
|
Loading…
Reference in New Issue
Block a user