From e2cf08aaadbcf9da92258537878401a6717875d2 Mon Sep 17 00:00:00 2001 From: Manuel Tiago Pereira Date: Sat, 30 Oct 2021 10:34:38 +0100 Subject: [PATCH] Add test for --status FAIL --- cmd/common_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmd/common_test.go b/cmd/common_test.go index cf39e25..7152ac2 100644 --- a/cmd/common_test.go +++ b/cmd/common_test.go @@ -768,6 +768,11 @@ func TestWriteStdoutOutputStatusList(t *testing.T) { statusList: "PASS,INFO", notContains: []string{"WARN", "FAIL"}, }, + { + name: "statusList FAIL", + statusList: "FAIL", + notContains: []string{"INFO", "WARN", "PASS"}, + }, { name: "statusList empty", statusList: "",