feat: hltb plugin
Some checks failed
ci/woodpecker/push/ci Pipeline failed

This commit is contained in:
Felipe M 2025-06-12 14:45:07 +02:00
parent c53942ac53
commit d09b763aa7
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
24 changed files with 941 additions and 17 deletions

View file

@ -5,6 +5,7 @@ import (
"time"
"git.nakama.town/fmartingr/butterrobot/internal/model"
"git.nakama.town/fmartingr/butterrobot/internal/testutil"
)
func TestSearchReplace(t *testing.T) {
@ -84,7 +85,8 @@ func TestSearchReplace(t *testing.T) {
}
// Process message
actions := p.OnMessage(msg, nil)
mockCache := &testutil.MockCache{}
actions := p.OnMessage(msg, nil, mockCache)
// Check results
if tc.expectActions {