refactor: rename API

This commit is contained in:
debugtalk
2021-10-10 12:21:24 +08:00
parent e1411c36da
commit ce06ee09db
11 changed files with 16 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ import (
"github.com/imroc/req"
)
func Test(t *testing.T, testcases ...ITestCase) error {
func Run(t *testing.T, testcases ...ITestCase) error {
return NewRunner().WithTestingT(t).SetDebug(true).Run(testcases...)
}