change: rename step structs

This commit is contained in:
debugtalk
2021-12-08 10:58:10 +08:00
parent 10795e0465
commit d0fb750c51
3 changed files with 41 additions and 41 deletions

View File

@@ -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 {