mirror of
https://github.com/neovim/neovim.git
synced 2025-10-18 15:51:50 +00: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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user