refactor(test): testutils
This commit is contained in:
parent
bc48bd71f2
commit
1d45a443ff
6 changed files with 72 additions and 30 deletions
|
|
@ -5,10 +5,34 @@ local T = MiniTest.new_set {
|
|||
hooks = {
|
||||
post_once = child.stop,
|
||||
pre_case = function()
|
||||
child.restart { "-u", "scripts/minimal_init.lua" }
|
||||
child.restart { "-u", t.mininit_path }
|
||||
end,
|
||||
},
|
||||
}
|
||||
T["comment"] = MiniTest.new_set {}
|
||||
|
||||
T["comment"]["should add comment to package"] = function()
|
||||
MiniTest.skip "come back daddy"
|
||||
end
|
||||
|
||||
T["comment"]["should add comment to struct"] = function()
|
||||
MiniTest.skip "come back daddy"
|
||||
end
|
||||
|
||||
T["comment"]["should add comment to function"] = function()
|
||||
MiniTest.skip "come back daddy"
|
||||
end
|
||||
|
||||
T["comment"]["should add comment to method"] = function()
|
||||
MiniTest.skip "come back daddy"
|
||||
end
|
||||
|
||||
T["comment"]["should add comment to interface"] = function()
|
||||
MiniTest.skip "come back daddy"
|
||||
end
|
||||
|
||||
T["comment"]["otherwise should add // above cursor"] = function()
|
||||
MiniTest.skip "come back daddy"
|
||||
end
|
||||
|
||||
return T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue