refactor(tests): clean up everywhere
This commit is contained in:
parent
1cb507fa40
commit
b2780c8efb
6 changed files with 30 additions and 7 deletions
|
|
@ -25,6 +25,7 @@ T["gotests"]["should add test for function under cursor"] = function()
|
|||
child.cmd "GoTestAdd"
|
||||
|
||||
t.eq(rs.fixtures.output, read_testfile(rs.tmp))
|
||||
t.cleanup(rs)
|
||||
end
|
||||
|
||||
T["gotests"]["should add test for method under cursor"] = function()
|
||||
|
|
@ -32,6 +33,7 @@ T["gotests"]["should add test for method under cursor"] = function()
|
|||
child.cmd "GoTestAdd"
|
||||
|
||||
t.eq(rs.fixtures.output, read_testfile(rs.tmp))
|
||||
t.cleanup(rs)
|
||||
end
|
||||
|
||||
return T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue