mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
7 lines
No EOL
242 B
Bash
7 lines
No EOL
242 B
Bash
#!/usr/bin/env bats
|
|
|
|
@test "Pass when parsing a valid Kubernetes config YAML file" {
|
|
run bin/kubeconform -file fixtures/valid.yaml -summary
|
|
[ "$status" -eq 0 ]
|
|
[ "$output" = "Run summary - Valid: 1, Invalid: 0, Errors: 0 Skipped: 0" ]
|
|
} |