refactor(tests): soon it will be too far
This commit is contained in:
parent
2ca302a7a5
commit
4bf2806537
6 changed files with 8 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue