refactor: TestCase, TSteps -> Steps

This commit is contained in:
lilong.129
2024-08-19 22:28:21 +08:00
parent 50230adb54
commit a9b864dc96
13 changed files with 66 additions and 65 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func LoadJSONCase(path string) (*hrp.TestCase, error) {
return nil, errors.Wrap(err, "load json file failed")
}
if caseJSON.TSteps == nil {
if caseJSON.Steps == nil {
return nil, errors.New("invalid json case file, missing teststeps")
}