awesomewm.d.tl/spec/example_with_my_code_spec.tl

11 lines
249 B
Plaintext
Raw Normal View History

2023-04-17 00:38:17 +02:00
local assert = require("luassert")
local utils = require("utils")
describe("test", function()
it("has_item", function()
local t = {1, 2, 3}
assert.equal(utils.has_item(t, 1), 1)
assert.is_nil(utils.has_item(t, 4))
end)
end)