1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-02 04:48:14 +00:00

Check for FAIL status on status flag test

This commit is contained in:
Manuel Tiago Pereira 2021-10-30 10:33:37 +01:00
parent 0baeb0a292
commit 8f174192ea
No known key found for this signature in database
GPG Key ID: 0F7AEBEEEEB5DC0C

View File

@ -761,12 +761,12 @@ func TestWriteStdoutOutputStatusList(t *testing.T) {
{
name: "statusList PASS",
statusList: "PASS",
notContains: []string{"INFO", "WARN", "ERRO"},
notContains: []string{"INFO", "WARN", "FAIL"},
},
{
name: "statusList PASS,INFO",
statusList: "PASS,INFO",
notContains: []string{"WARN", "ERRO"},
notContains: []string{"WARN", "FAIL"},
},
{
name: "statusList empty",