mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-26 01:51:29 +08:00
fix: GetStepCacheData
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
1,
|
||||
1
|
||||
],
|
||||
"target": 2,
|
||||
"target": 1,
|
||||
"text": "^广告$"
|
||||
},
|
||||
{
|
||||
@@ -49,6 +49,7 @@
|
||||
1,
|
||||
1
|
||||
],
|
||||
"target": 1,
|
||||
"text": "^图文$"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -25,8 +25,8 @@ func TestAndroidVideoCrawlerTest(t *testing.T) {
|
||||
"feed": map[string]interface{}{
|
||||
"target_count": 5,
|
||||
"target_labels": []map[string]interface{}{
|
||||
{"text": "^广告$", "scope": []float64{0, 0.5, 1, 1}, "regex": true, "target": 2},
|
||||
{"text": "^图文$", "scope": []float64{0, 0.5, 1, 1}, "regex": true},
|
||||
{"text": "^广告$", "scope": []float64{0, 0.5, 1, 1}, "regex": true, "target": 1},
|
||||
{"text": "^图文$", "scope": []float64{0, 0.5, 1, 1}, "regex": true, "target": 1},
|
||||
{"text": `^特效\|`, "scope": []float64{0, 0.5, 1, 1}, "regex": true},
|
||||
{"text": `^模板\|`, "scope": []float64{0, 0.5, 1, 1}, "regex": true},
|
||||
{"text": `^购物\|`, "scope": []float64{0, 0.5, 1, 1}, "regex": true},
|
||||
|
||||
Reference in New Issue
Block a user