Mercurial > vim
comparison src/testdir/test_messages.vim @ 30501:f85930a64d7b v9.0.0586
patch 9.0.0586: missing change in test
Commit: https://github.com/vim/vim/commit/124af71a28a633fa655cff41bc21d398481ce45f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 25 18:44:03 2022 +0100
patch 9.0.0586: missing change in test
Problem: Missing change in test.
Solution: Add the test change.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 25 Sep 2022 19:45:05 +0200 |
parents | cc3b3fd9cb27 |
children | 98bef0149214 |
comparison
equal
deleted
inserted
replaced
30500:cd643d74e4e0 | 30501:f85930a64d7b |
---|---|
363 CheckScreendump | 363 CheckScreendump |
364 | 364 |
365 let content =<< trim END | 365 let content =<< trim END |
366 echom range(9999)->join("\x01") | 366 echom range(9999)->join("\x01") |
367 END | 367 END |
368 call writefile(content, 'Xtest_quit_message') | 368 call writefile(content, 'Xtest_quit_message', 'D') |
369 let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6, wait_for_ruler: 0}) | 369 let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 10, wait_for_ruler: 0}) |
370 call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 6))}) | 370 call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 10))}) |
371 call term_sendkeys(buf, "q") | 371 call term_sendkeys(buf, "q") |
372 call VerifyScreenDump(buf, 'Test_quit_long_message', {}) | 372 call VerifyScreenDump(buf, 'Test_quit_long_message', {}) |
373 | 373 |
374 " clean up | 374 " clean up |
375 call StopVimInTerminal(buf) | 375 call StopVimInTerminal(buf) |
376 call delete('Xtest_quit_message') | |
377 endfunc | 376 endfunc |
378 | 377 |
379 " this was missing a terminating NUL | 378 " this was missing a terminating NUL |
380 func Test_echo_string_partial() | 379 func Test_echo_string_partial() |
381 function CountSpaces() | 380 function CountSpaces() |