0
0
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:
Bram Moolenaar
2019-06-01 17:06:25 +02:00
parent c47ed44be7
commit 2d247849ce
3 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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:')

View File

@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1440,
/**/
1439,
/**/