Merge pull request #12416 from teto/openbsd_fix

ci: bump openbsd image
This commit is contained in:
Matthieu Coudron 2020-06-06 02:06:40 +02:00 committed by GitHub
commit 39f802bef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 13 deletions

View File

@ -1,17 +1,17 @@
# sourcehut CI: https://builds.sr.ht/~jmk/neovim
image: openbsd/6.5
image: openbsd/6.7
packages:
- autoconf-2.69p2
- automake-1.15.1
- cmake
- gettext-0.19.8.1p3
- gettext-tools-0.19.8.1
- gettext-runtime-0.20.1p1
- gettext-tools-0.20.1p3
- gmake
- libtool
- ninja-1.8.2p0
- unzip-6.0p11
- ninja-1.10.0
- unzip-6.0p13
sources:
- https://github.com/neovim/neovim

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