mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	test/ui: Fix indeterminism in screen_basic_spec
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| local helpers = require('test.functional.helpers') | local helpers = require('test.functional.helpers') | ||||||
| local Screen = require('test.functional.ui.screen') | local Screen = require('test.functional.ui.screen') | ||||||
| local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute | local clear, feed, execute = helpers.clear, helpers.feed, helpers.execute | ||||||
| local insert = helpers.insert | local insert, wait = helpers.insert, helpers.wait | ||||||
|  |  | ||||||
| describe('Screen', function() | describe('Screen', function() | ||||||
|   local screen |   local screen | ||||||
| @@ -464,6 +464,7 @@ describe('Screen', function() | |||||||
|     end) |     end) | ||||||
|  |  | ||||||
|     it('has minimum width/height values', function() |     it('has minimum width/height values', function() | ||||||
|  |       wait() | ||||||
|       screen:try_resize(1, 1) |       screen:try_resize(1, 1) | ||||||
|       screen:expect([[ |       screen:expect([[ | ||||||
|         -- INS^ERT --| |         -- INS^ERT --| | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Thiago de Arruda
					Thiago de Arruda