refactor: convert postman case

This commit is contained in:
debugtalk
2022-12-23 12:28:29 +08:00
parent 6d70a0eeb6
commit e3596a6051
17 changed files with 371 additions and 459 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
"github.com/httprunner/httprunner/v4/hrp/internal/builtin"
)
func NewYAMLCase(path string) (*hrp.TCase, error) {
func LoadYAMLCase(path string) (*hrp.TCase, error) {
// load yaml case file
caseJSON := new(hrp.TCase)
err := builtin.LoadFile(path, caseJSON)