Skip to content

Commit

Permalink
fix the e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed Nov 11, 2024
1 parent 692c09e commit 2c64b6a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions docs/site/content/zh/latest/tasks/verify.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,3 @@ title = "测试用例验证"
```
[更多用法](https://expr-lang.org/docs/language-definition#indexOf).
## JSON 字段判断
```yaml
- name: sbom
request:
api: /sbom
expect:
verify:
- keys(data) == ["go", "js"]
```
1 change: 0 additions & 1 deletion e2e/test-suite-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,6 @@ items:
api: /sbom
expect:
verify:
- keys(data) == ["go", "js"]
- len(data.go) > 0
- len(data.js.dependencies) > 0
- len(data.js.devDependencies) > 0

0 comments on commit 2c64b6a

Please sign in to comment.