10 lines
181 B
Lua
10 lines
181 B
Lua
local M = {}
|
|
|
|
function M.assert_eq(a, b, msg)
|
|
if a ~= b then
|
|
error(string.format("FAIL: %s — expected %s, got %s", msg, vim.inspect(b), vim.inspect(a)))
|
|
end
|
|
end
|
|
|
|
return M
|