refactor: NewConfig

This commit is contained in:
debugtalk
2021-12-07 13:29:06 +08:00
parent b8573c2ea9
commit d31c30476f
14 changed files with 88 additions and 86 deletions

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
}