diff --git a/acceptance.bats b/acceptance.bats index e18b1c5..255b31b 100755 --- a/acceptance.bats +++ b/acceptance.bats @@ -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" {