We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 692c09e commit 2c64b6aCopy full SHA for 2c64b6a
docs/site/content/zh/latest/tasks/verify.md
@@ -43,14 +43,3 @@ title = "测试用例验证"
43
```
44
45
[更多用法](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
@@ -382,7 +382,6 @@ items:
382
api: /sbom
383
expect:
384
verify:
385
386
- len(data.go) > 0
387
- len(data.js.dependencies) > 0
388
- len(data.js.devDependencies) > 0
0 commit comments