mirror of
https://github.com/vim/vim.git
synced 2025-08-23 19:34:27 -04:00
patch 8.0.1015: missing update to terminal test
Problem: Missing update to terminal test. Solution: Add the changes to the test.
This commit is contained in:
parent
b47a2597e6
commit
97a80e440a
@ -84,6 +84,7 @@ endfunc
|
|||||||
|
|
||||||
func Test_terminal_hide_buffer()
|
func Test_terminal_hide_buffer()
|
||||||
let buf = Run_shell_in_terminal({})
|
let buf = Run_shell_in_terminal({})
|
||||||
|
setlocal bufhidden=hide
|
||||||
quit
|
quit
|
||||||
for nr in range(1, winnr('$'))
|
for nr in range(1, winnr('$'))
|
||||||
call assert_notequal(winbufnr(nr), buf)
|
call assert_notequal(winbufnr(nr), buf)
|
||||||
@ -356,13 +357,13 @@ func Test_finish_open_close()
|
|||||||
call assert_equal(1, winnr('$'))
|
call assert_equal(1, winnr('$'))
|
||||||
|
|
||||||
exe 'terminal ++open ' . cmd
|
exe 'terminal ++open ' . cmd
|
||||||
close
|
close!
|
||||||
call WaitFor("winnr('$') == 2", waittime)
|
call WaitFor("winnr('$') == 2", waittime)
|
||||||
call assert_equal(2, winnr('$'))
|
call assert_equal(2, winnr('$'))
|
||||||
bwipe
|
bwipe
|
||||||
|
|
||||||
call term_start(cmd, {'term_finish': 'open'})
|
call term_start(cmd, {'term_finish': 'open'})
|
||||||
close
|
close!
|
||||||
call WaitFor("winnr('$') == 2", waittime)
|
call WaitFor("winnr('$') == 2", waittime)
|
||||||
call assert_equal(2, winnr('$'))
|
call assert_equal(2, winnr('$'))
|
||||||
bwipe
|
bwipe
|
||||||
@ -385,7 +386,7 @@ func Test_finish_open_close()
|
|||||||
call assert_fails("call term_start(cmd, {'term_opencmd': 'split % and %d'})", 'E475:')
|
call assert_fails("call term_start(cmd, {'term_opencmd': 'split % and %d'})", 'E475:')
|
||||||
|
|
||||||
call term_start(cmd, {'term_finish': 'open', 'term_opencmd': '4split | buffer %d'})
|
call term_start(cmd, {'term_finish': 'open', 'term_opencmd': '4split | buffer %d'})
|
||||||
close
|
close!
|
||||||
call WaitFor("winnr('$') == 2", waittime)
|
call WaitFor("winnr('$') == 2", waittime)
|
||||||
call assert_equal(2, winnr('$'))
|
call assert_equal(2, winnr('$'))
|
||||||
call assert_equal(4, winheight(0))
|
call assert_equal(4, winheight(0))
|
||||||
|
@ -769,6 +769,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1015,
|
||||||
/**/
|
/**/
|
||||||
1014,
|
1014,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user