Skip to content

Commit

Permalink
missing tests updates
Browse files Browse the repository at this point in the history
Signed-off-by: laurentsimon <[email protected]>
  • Loading branch information
laurentsimon committed Sep 12, 2023
1 parent 25d7241 commit 3630f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checks/evaluation/fuzzing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func TestFuzzing(t *testing.T) {
dl := scut.TestDetailLogger{}
got := Fuzzing(tt.name, tt.findings, &dl)
if !scut.ValidateTestReturn(t, tt.name, &tt.result, &got, &dl) {
t.Fatalf(tt.name)
t.Errorf("got %v, expected %v", got, tt.result)
}
})
}
Expand Down
2 changes: 1 addition & 1 deletion checks/evaluation/security_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func TestSecurityPolicy(t *testing.T) {
dl := scut.TestDetailLogger{}
got := SecurityPolicy(tt.name, tt.findings, &dl)
if !scut.ValidateTestReturn(t, tt.name, &tt.result, &got, &dl) {
t.Fatalf(tt.name)
t.Errorf("got %v, expected %v", got, tt.result)
}
})
}
Expand Down

0 comments on commit 3630f54

Please sign in to comment.