mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
refactor: convert postman case
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user