chore: lint fixes
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
Felipe M 2025-04-27 17:11:40 +02:00
parent fae6f35774
commit 8d188217e9
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8

View file

@ -127,11 +127,11 @@ func TestOnMessage(t *testing.T) {
responses := plugin.OnMessage(msg, config)
if test.expectBlocked {
if responses == nil || len(responses) == 0 {
if len(responses) == 0 {
t.Errorf("Expected message to be blocked, but it wasn't")
}
} else {
if responses != nil && len(responses) > 0 {
if len(responses) > 0 {
t.Errorf("Expected message not to be blocked, but it was")
}
}