comparison src/testdir/test_excmd.vim @ 19809:c110bb3b15a8 v8.2.0461

patch 8.2.0461: confirm test fails on amd64 system Commit: https://github.com/vim/vim/commit/9207d1f523c2e2fb1c8749ec6f84ab5ecc2c62f4 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 27 19:41:02 2020 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 Mar 2020 19:45:05 +0100
parents 71911b1dc3f9
children 2dc8d3e6993e
comparison
equal deleted inserted replaced
19808:b57aba447d4e 19809:c110bb3b15a8
262 call term_wait(buf, 50) 262 call term_wait(buf, 50)
263 call term_sendkeys(buf, ":confirm close\n") 263 call term_sendkeys(buf, ":confirm close\n")
264 call WaitForAssert({-> assert_match('^\[Y\]es, (N)o, (C)ancel: *$', 264 call WaitForAssert({-> assert_match('^\[Y\]es, (N)o, (C)ancel: *$',
265 \ term_getline(buf, 20))}, 1000) 265 \ term_getline(buf, 20))}, 1000)
266 call term_sendkeys(buf, "N") 266 call term_sendkeys(buf, "N")
267 call WaitForAssert({-> assert_match('^ *0,0-1 All$',
268 \ term_getline(buf, 20))}, 1000)
267 call StopVimInTerminal(buf) 269 call StopVimInTerminal(buf)
268 endfunc 270 endfunc
269 271
270 " Test for the :print command 272 " Test for the :print command
271 func Test_print_cmd() 273 func Test_print_cmd()