mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
refactor: TestCase, TSteps -> Steps
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user