mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 22:44:05 +08:00
change: TestCasePath Path field
This commit is contained in:
@@ -132,7 +132,7 @@ func loadTestFile(path *TestCasePath) (*TestCase, error) {
|
|||||||
var tc *TCase
|
var tc *TCase
|
||||||
var err error
|
var err error
|
||||||
|
|
||||||
casePath := path.string
|
casePath := path.Path
|
||||||
ext := filepath.Ext(casePath)
|
ext := filepath.Ext(casePath)
|
||||||
switch ext {
|
switch ext {
|
||||||
case ".json":
|
case ".json":
|
||||||
|
|||||||
Reference in New Issue
Block a user