mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	test(float_spec): add missing sum_scroll_delta #22648
This commit is contained in:
		| @@ -8986,8 +8986,8 @@ describe('float window', function() | |||||||
|         ]], float_pos={ |         ]], float_pos={ | ||||||
|           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; |           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; | ||||||
|         }, win_viewport={ |         }, win_viewport={ | ||||||
|           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1}; |           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1, sum_scroll_delta = 0}; | ||||||
|           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2}; |           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2, sum_scroll_delta = 0}; | ||||||
|         }} |         }} | ||||||
|       else |       else | ||||||
|         screen:expect{grid=[[ |         screen:expect{grid=[[ | ||||||
| @@ -9028,8 +9028,8 @@ describe('float window', function() | |||||||
|         ]], float_pos={ |         ]], float_pos={ | ||||||
|           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; |           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; | ||||||
|         }, win_viewport={ |         }, win_viewport={ | ||||||
|           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1}; |           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1, sum_scroll_delta = 0}; | ||||||
|           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2}; |           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2, sum_scroll_delta = 0}; | ||||||
|         }} |         }} | ||||||
|       else |       else | ||||||
|         screen:expect{grid=[[ |         screen:expect{grid=[[ | ||||||
| @@ -9075,8 +9075,8 @@ describe('float window', function() | |||||||
|         ]], float_pos={ |         ]], float_pos={ | ||||||
|           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; |           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; | ||||||
|         }, win_viewport={ |         }, win_viewport={ | ||||||
|           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1}; |           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1, sum_scroll_delta = 0}; | ||||||
|           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2}; |           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2, sum_scroll_delta = 0}; | ||||||
|         }} |         }} | ||||||
|       else |       else | ||||||
|         screen:expect{grid=[[ |         screen:expect{grid=[[ | ||||||
| @@ -9119,8 +9119,8 @@ describe('float window', function() | |||||||
|         ]], float_pos={ |         ]], float_pos={ | ||||||
|           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; |           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; | ||||||
|         }, win_viewport={ |         }, win_viewport={ | ||||||
|           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1}; |           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1, sum_scroll_delta = 0}; | ||||||
|           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2}; |           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 1, linecount = 2, sum_scroll_delta = 0}; | ||||||
|         }} |         }} | ||||||
|       else |       else | ||||||
|         screen:expect{grid=[[ |         screen:expect{grid=[[ | ||||||
| @@ -9166,8 +9166,8 @@ describe('float window', function() | |||||||
|         ]], float_pos={ |         ]], float_pos={ | ||||||
|           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; |           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; | ||||||
|         }, win_viewport={ |         }, win_viewport={ | ||||||
|           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1}; |           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1, sum_scroll_delta = 0}; | ||||||
|           [4] = {win = {id = 1001}, topline = 0, botline = 2, curline = 1, curcol = 1, linecount = 2}; |           [4] = {win = {id = 1001}, topline = 0, botline = 2, curline = 1, curcol = 1, linecount = 2, sum_scroll_delta = 0}; | ||||||
|         }} |         }} | ||||||
|       else |       else | ||||||
|         screen:expect{grid=[[ |         screen:expect{grid=[[ | ||||||
| @@ -9210,8 +9210,8 @@ describe('float window', function() | |||||||
|         ]], float_pos={ |         ]], float_pos={ | ||||||
|           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; |           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; | ||||||
|         }, win_viewport={ |         }, win_viewport={ | ||||||
|           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1}; |           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1, sum_scroll_delta = 0}; | ||||||
|           [4] = {win = {id = 1001}, topline = 0, botline = 2, curline = 1, curcol = 1, linecount = 2}; |           [4] = {win = {id = 1001}, topline = 0, botline = 2, curline = 1, curcol = 1, linecount = 2, sum_scroll_delta = 0}; | ||||||
|         }} |         }} | ||||||
|       else |       else | ||||||
|         screen:expect{grid=[[ |         screen:expect{grid=[[ | ||||||
| @@ -9261,8 +9261,8 @@ describe('float window', function() | |||||||
|         ]], float_pos={ |         ]], float_pos={ | ||||||
|           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; |           [4] = {{id = 1001}, "NW", 1, 1, 1, true, 50}; | ||||||
|         }, win_viewport={ |         }, win_viewport={ | ||||||
|           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1}; |           [2] = {win = {id = 1000}, topline = 0, botline = 2, curline = 0, curcol = 0, linecount = 1, sum_scroll_delta = 0}; | ||||||
|           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 2, linecount = 2}; |           [4] = {win = {id = 1001}, topline = 0, botline = 3, curline = 1, curcol = 2, linecount = 2, sum_scroll_delta = 0}; | ||||||
|         }} |         }} | ||||||
|       else |       else | ||||||
|         screen:expect{grid=[[ |         screen:expect{grid=[[ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 zeertzjq
					zeertzjq