Skip to content

Commit e2cf08a

Browse files
committed
Add test for --status FAIL
1 parent 8f17419 commit e2cf08a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmd/common_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,11 @@ func TestWriteStdoutOutputStatusList(t *testing.T) {
768768
statusList: "PASS,INFO",
769769
notContains: []string{"WARN", "FAIL"},
770770
},
771+
{
772+
name: "statusList FAIL",
773+
statusList: "FAIL",
774+
notContains: []string{"INFO", "WARN", "PASS"},
775+
},
771776
{
772777
name: "statusList empty",
773778
statusList: "",

0 commit comments

Comments
 (0)