Skip to content

Commit

Permalink
chore: upgrade Mulberry to v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
b0o committed May 17, 2024
1 parent 3e8edbc commit d72ddb6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/mulberry.lua
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
---- Mulberry v0.0.3
---- Mulberry v0.0.4
--
-- https://github.com/b0o/mulberry
--
-- Mulberry is a single-file BDD testing library for Lua targeting Neovim.
-- It's still alpha software. Don't rely on it, it's not fully tested and
-- surely has bugs. You've been warned.
--
-- Copyright 2021-2023 Maddison Hellstrom
-- Copyright 2021-2024 Maddison Hellstrom
-- Released under the MIT License

local operators = {}
local matchers = {}

---- Helpers
local islist = vim.islist or vim.tbl_islist

local function runMatcher(matcherFuncs, ...)
if type(matcherFuncs) ~= 'table' then
Expand Down Expand Up @@ -128,7 +127,7 @@ operators.An = operators.A
operators.A.ListLike = {
operators.A.Table,
function(actual)
return vim.tbl_islist(actual)
return islist(actual)
end,
}

Expand Down

0 comments on commit d72ddb6

Please sign in to comment.