mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-07 16:59:34 +08:00
change: rename step structs
This commit is contained in:
@@ -109,11 +109,11 @@ func (tc *TCase) ToTestCase() (*TestCase, error) {
|
||||
}
|
||||
for _, step := range tc.TestSteps {
|
||||
if step.Request != nil {
|
||||
testCase.TestSteps = append(testCase.TestSteps, &requestWithOptionalArgs{
|
||||
testCase.TestSteps = append(testCase.TestSteps, &stepRequestWithOptionalArgs{
|
||||
step: step,
|
||||
})
|
||||
} else if step.TestCase != nil {
|
||||
testCase.TestSteps = append(testCase.TestSteps, &testcaseWithOptionalArgs{
|
||||
testCase.TestSteps = append(testCase.TestSteps, &stepTestCaseWithOptionalArgs{
|
||||
step: step,
|
||||
})
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user