[#5] Change test

Test function generates an output file with coverage.

Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
pull/10/head
Ekaterina Lebedeva 2023-08-14 18:44:06 +03:00
parent 25ec36439b
commit 44b3786463
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ func TestContract(t *testing.T) {
// test invalid key
inv.InvokeFail(t, "Invalid key size", "putNumber", invalidKey, 42)
inv.InvokeFail(t, "Invalid key size", "getNumber", invalidKey)
spew.Dump(inv.Methods)
// spew.Dump(inv.Methods)
inv.MakeCoverage(t, ctrDI, "contract.go", "c.out")
}
func TestRun(t *testing.T) {