fixup! test: test it and fix it
This commit is contained in:
parent
978e113cd8
commit
96920a8fb9
1 changed files with 0 additions and 6 deletions
|
|
@ -21,7 +21,6 @@ T["struct_tags"]["should add tag"] = function()
|
|||
child.cmd "write"
|
||||
|
||||
t.eq(t.readfile(tmp), fixtures.output)
|
||||
t.deletefile(tmp)
|
||||
end
|
||||
|
||||
T["struct_tags"]["should remove tag"] = function()
|
||||
|
|
@ -35,7 +34,6 @@ T["struct_tags"]["should remove tag"] = function()
|
|||
child.cmd "write"
|
||||
|
||||
t.eq(t.readfile(tmp), fixtures.output)
|
||||
t.deletefile(tmp)
|
||||
end
|
||||
|
||||
T["struct_tags"]["should be able to handle many structs"] = function()
|
||||
|
|
@ -49,7 +47,6 @@ T["struct_tags"]["should be able to handle many structs"] = function()
|
|||
child.cmd "write"
|
||||
|
||||
t.eq(t.readfile(tmp), fixtures.output)
|
||||
t.deletefile(tmp)
|
||||
end
|
||||
|
||||
T["struct_tags"]["should clear struct"] = function()
|
||||
|
|
@ -63,7 +60,6 @@ T["struct_tags"]["should clear struct"] = function()
|
|||
child.cmd "write"
|
||||
|
||||
t.eq(t.readfile(tmp), fixtures.output)
|
||||
t.deletefile(tmp)
|
||||
end
|
||||
|
||||
T["struct_tags"]["should add more than one tag"] = function()
|
||||
|
|
@ -84,7 +80,6 @@ T["struct_tags"]["should add more than one tag"] = function()
|
|||
child.cmd "write"
|
||||
|
||||
t.eq(t.readfile(tmp), fixtures.output)
|
||||
t.deletefile(tmp)
|
||||
end
|
||||
|
||||
T["struct_tags"]["should add tags on var"] = function()
|
||||
|
|
@ -111,7 +106,6 @@ T["struct_tags"]["should add tags on short declr var"] = function()
|
|||
child.cmd "write"
|
||||
|
||||
t.eq(t.readfile(tmp), fixtures.output)
|
||||
t.deletefile(tmp)
|
||||
end
|
||||
|
||||
return T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue