patch 8.2.0266: terminal in popup test sometimes fails on Mac
Problem: Terminal in popup test sometimes fails on Mac. Solution: Add a short delay.
This commit is contained in:
		| @ -2353,6 +2353,7 @@ func Test_terminal_in_popup() | |||||||
| 	\ ] | 	\ ] | ||||||
|   call writefile(lines, 'XtermPopup') |   call writefile(lines, 'XtermPopup') | ||||||
|   let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15}) |   let buf = RunVimInTerminal('-S XtermPopup', #{rows: 15}) | ||||||
|  |   call term_wait(buf, 100) | ||||||
|   call term_sendkeys(buf, ":\<CR>") |   call term_sendkeys(buf, ":\<CR>") | ||||||
|   call VerifyScreenDump(buf, 'Test_terminal_popup_1', {}) |   call VerifyScreenDump(buf, 'Test_terminal_popup_1', {}) | ||||||
|  |  | ||||||
|  | |||||||
| @ -742,6 +742,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 */ | ||||||
|  | /**/ | ||||||
|  |     266, | ||||||
| /**/ | /**/ | ||||||
|     265, |     265, | ||||||
| /**/ | /**/ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user