refactor(tests): soon it will be too far

This commit is contained in:
Oleksandr Smirnov 2025-03-22 20:38:55 +02:00
parent 2ca302a7a5
commit 4bf2806537
No known key found for this signature in database
6 changed files with 8 additions and 13 deletions

View file

@ -1,6 +1,5 @@
local t = require "spec.testutils"
local child, T = t.setup()
local child, T = t.setup "comment"
local function do_the_test(fixture, pos)
local rs = t.setup_test("comment/" .. fixture, child, pos)
@ -11,7 +10,6 @@ local function do_the_test(fixture, pos)
t.cleanup(rs)
end
T["comment"] = MiniTest.new_set {}
T["comment"]["should add comment to package"] = function()
do_the_test("package", { 1, 1 })
end