test: remove flaky unhelpful test

vim.wait( sthg)
This commit is contained in:
TJ DeVries 2020-05-31 20:37:43 -04:00 committed by Matthieu Coudron
parent c4888b2bde
commit d14298a1f0

View File

@ -1167,14 +1167,6 @@ describe('lua stdlib', function()
]])
end)
it('should call callbacks more times with small `interval`', function()
eq(true, exec_lua [[
vim.g.wait_count = 0
vim.wait(50, function() vim.g.wait_count = vim.g.wait_count + 1 end, 5)
return vim.g.wait_count > 5
]])
end)
it('should play nice with `not` when fails', function()
eq(true, exec_lua [[
if not vim.wait(50, function() end) then