mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test/ui: Fix indeterminism in screen_basic_spec
This commit is contained in:
parent
1e7624d2a0
commit
3a20a9847e
@ -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 --|
|
||||||
|
Loading…
Reference in New Issue
Block a user