update text output in acceptance tests

This commit is contained in:
Yann Hamon 2020-06-05 00:04:29 +02:00
parent 7bfb0b51f1
commit 10f5c29c8f

View file

@ -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" {