mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-30 12:59:39 +08:00
change: make API more concise
This commit is contained in:
@@ -15,7 +15,7 @@ func (tc *TestCase) ToTCase() (*TCase, error) {
|
||||
Config: tc.Config,
|
||||
}
|
||||
for _, step := range tc.TestSteps {
|
||||
tCase.TestSteps = append(tCase.TestSteps, step.toStruct())
|
||||
tCase.TestSteps = append(tCase.TestSteps, step.ToStruct())
|
||||
}
|
||||
return &tCase, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user