mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
update text output in acceptance tests
This commit is contained in:
parent
7bfb0b51f1
commit
10f5c29c8f
1 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
@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" ]
|
||||
[ "$output" = "Summary: 1 resource found in 1 file - Valid: 1, Invalid: 0, Errors: 0 Skipped: 0" ]
|
||||
}
|
||||
|
||||
@test "Pass when parsing a Kubernetes file with string and integer quantities" {
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@test "Pass when parsing a multi-document config file" {
|
||||
run bin/kubeconform -summary -file fixtures/multi_valid.yaml
|
||||
[ "$status" -eq 0 ]
|
||||
[ "$output" = "Run summary - Valid: 6, Invalid: 0, Errors: 0 Skipped: 0" ]
|
||||
[ "$output" = "Summary: 6 resources found in 1 file - Valid: 6, Invalid: 0, Errors: 0 Skipped: 0" ]
|
||||
}
|
||||
|
||||
@test "Fail when parsing a multi-document config file with one invalid resource" {
|
||||
|
|
|
|||
Loading…
Reference in a new issue