refactor: runner api

This commit is contained in:
debugtalk
2021-11-11 16:23:30 +08:00
parent 6bf56db88d
commit 6f2a38b5c7
15 changed files with 28 additions and 30 deletions

View File

@@ -40,7 +40,7 @@ func TestCaseCallFunction(t *testing.T) {
},
}
err := hrp.Run(t, testcase)
err := hrp.NewRunner(t).Run(testcase)
if err != nil {
t.Fatalf("run testcase error: %v", err)
}