chore: setup mini.test

This commit is contained in:
Oleksandr Smirnov 2025-02-13 22:48:21 +02:00
parent e71f5937fc
commit 42a880ab95
No known key found for this signature in database
5 changed files with 24 additions and 12 deletions

View file

@ -1,15 +0,0 @@
describe("gopher._utils", function()
local u = require "gopher._utils"
describe(".sreq()", function()
it("can require existing module", function()
assert.are.same(require "gopher", u.sreq "gopher")
end)
it("cannot require non-existing module", function()
assert.has.errors(function()
u.sreq "iDontExistBtw"
end)
end)
end)
end)