Skip to content

Commit 2c64b6a

Browse files
committed
fix the e2e
1 parent 692c09e commit 2c64b6a

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

docs/site/content/zh/latest/tasks/verify.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,3 @@ title = "测试用例验证"
4343
```
4444
4545
[更多用法](https://expr-lang.org/docs/language-definition#indexOf).
46-
47-
## JSON 字段判断
48-
49-
```yaml
50-
- name: sbom
51-
request:
52-
api: /sbom
53-
expect:
54-
verify:
55-
- keys(data) == ["go", "js"]
56-
```

e2e/test-suite-common.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ items:
382382
api: /sbom
383383
expect:
384384
verify:
385-
- keys(data) == ["go", "js"]
386385
- len(data.go) > 0
387386
- len(data.js.dependencies) > 0
388387
- len(data.js.devDependencies) > 0

0 commit comments

Comments
 (0)