mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.0586: missing change in test
Problem: Missing change in test. Solution: Add the test change.
This commit is contained in:
parent
6a879878f4
commit
124af71a28
@ -365,15 +365,14 @@ func Test_quit_long_message()
|
||||
let content =<< trim END
|
||||
echom range(9999)->join("\x01")
|
||||
END
|
||||
call writefile(content, 'Xtest_quit_message')
|
||||
let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 6, wait_for_ruler: 0})
|
||||
call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 6))})
|
||||
call writefile(content, 'Xtest_quit_message', 'D')
|
||||
let buf = RunVimInTerminal('-S Xtest_quit_message', #{rows: 10, wait_for_ruler: 0})
|
||||
call WaitForAssert({-> assert_match('^-- More --', term_getline(buf, 10))})
|
||||
call term_sendkeys(buf, "q")
|
||||
call VerifyScreenDump(buf, 'Test_quit_long_message', {})
|
||||
|
||||
" clean up
|
||||
call StopVimInTerminal(buf)
|
||||
call delete('Xtest_quit_message')
|
||||
endfunc
|
||||
|
||||
" this was missing a terminating NUL
|
||||
|
@ -699,6 +699,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
586,
|
||||
/**/
|
||||
585,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user