refactor: NewConfig

This commit is contained in:
debugtalk
2021-12-07 13:29:06 +08:00
parent f7ab39374c
commit 133a737fb4
14 changed files with 88 additions and 86 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ func (r *runner) Run(testcases ...ITestCase) error {
}
func (r *runner) runCase(testcase *TestCase) error {
config := &testcase.Config
config := testcase.Config
if err := r.parseConfig(config); err != nil {
return err
}