refactor: simplify api

This commit is contained in:
debugtalk
2021-09-22 19:44:17 +08:00
parent fe6cca362c
commit 3f9b8be720
4 changed files with 15 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ func TestHttpRunner(t *testing.T) {
},
}
err := HttpRunner().Run(testcase1, testcase2)
err := Test(testcase1, testcase2)
if err != nil {
t.Fatalf("run testcase error: %v", err)
}