change: rename LoadFile to LoadFileObject

This commit is contained in:
lilong.129
2024-08-19 22:47:28 +08:00
parent 89d0d4bb96
commit 98ce2cc818
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import (
func LoadYAMLCase(path string) (*hrp.TestCase, error) {
// load yaml case file
caseJSON := new(hrp.TestCase)
err := hrp.LoadFile(path, caseJSON)
err := hrp.LoadFileObject(path, caseJSON)
if err != nil {
return nil, errors.Wrap(err, "load yaml file failed")
}