From d14298a1f076d9681ba35c2fbb53af812e4d15f6 Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Sun, 31 May 2020 20:37:43 -0400 Subject: test: remove flaky unhelpful test vim.wait( sthg) --- test/functional/lua/vim_spec.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'test/functional/lua/vim_spec.lua') diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua index aa0b3d822b..9b2697b3c2 100644 --- a/test/functional/lua/vim_spec.lua +++ b/test/functional/lua/vim_spec.lua @@ -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 -- cgit