mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.1.1440: win_execute() test fails
Problem: Win_execute() test fails. Solution: Adjust the expected error number. Move to popup test.
This commit is contained in:
@@ -94,8 +94,6 @@ func Test_win_execute()
|
||||
let line = win_execute(popupwin, 'echo getline(1)')
|
||||
call assert_match('the popup win', line)
|
||||
|
||||
call assert_fails('call win_execute(popupwin, "bwipe!")', 'E937:')
|
||||
|
||||
call popup_close(popupwin)
|
||||
endif
|
||||
|
||||
|
@@ -118,6 +118,7 @@ func Test_win_execute_not_allowed()
|
||||
call assert_fails('call win_execute(winid, "vsplit")', 'E994:')
|
||||
call assert_fails('call win_execute(winid, "close")', 'E994:')
|
||||
call assert_fails('call win_execute(winid, "bdelete")', 'E994:')
|
||||
call assert_fails('call win_execute(winid, "bwipe!")', 'E994:')
|
||||
call assert_fails('call win_execute(winid, "tabnew")', 'E994:')
|
||||
call assert_fails('call win_execute(winid, "tabnext")', 'E994:')
|
||||
call assert_fails('call win_execute(winid, "next")', 'E994:')
|
||||
|
@@ -767,6 +767,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1440,
|
||||
/**/
|
||||
1439,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user