From 30e8c1779f3b07e7d1cb76e0b880c8fb71e3cebf Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sat, 2 Jan 2021 18:47:48 -0500 Subject: [PATCH] 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) https://github.com/vim/vim/commit/9207d1f523c2e2fb1c8749ec6f84ab5ecc2c62f4 --- src/nvim/testdir/test_excmd.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nvim/testdir/test_excmd.vim b/src/nvim/testdir/test_excmd.vim index 62c35c9f53..1b4859ad6d 100644 --- a/src/nvim/testdir/test_excmd.vim +++ b/src/nvim/testdir/test_excmd.vim @@ -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