forked from aniani/vim
patch 8.1.0631: test for :stop fails on Arch
Problem: Test for :stop fails on Arch. Solution: Check five lines for the expected output. (closes #3714)
This commit is contained in:
parent
a42df5934b
commit
d6024e2dd4
@ -1705,11 +1705,13 @@ func Test_stop_in_terminal()
|
||||
call WaitForAssert({-> assert_match('ready', Get_terminal_text(bufnr, lastrow))})
|
||||
|
||||
call term_sendkeys(bufnr, ":stop\r")
|
||||
" Not sure where "Stopped" shows up, assume in the first three lines.
|
||||
" Not sure where "Stopped" shows up, need five lines for Arch.
|
||||
call WaitForAssert({-> assert_match('Stopped',
|
||||
\ Get_terminal_text(bufnr, 1) .
|
||||
\ Get_terminal_text(bufnr, 2) .
|
||||
\ Get_terminal_text(bufnr, 3))})
|
||||
\ Get_terminal_text(bufnr, 3) .
|
||||
\ Get_terminal_text(bufnr, 4) .
|
||||
\ Get_terminal_text(bufnr, 5))})
|
||||
|
||||
call term_sendkeys(bufnr, "fg\r")
|
||||
call term_sendkeys(bufnr, ":echo 'back again'\r")
|
||||
|
@ -799,6 +799,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
631,
|
||||
/**/
|
||||
630,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user