Skip to content

Commit

Permalink
wip: 🔕 temporary commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tarampampam committed Sep 11, 2024
1 parent a15219b commit df2c56b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/pubsub/inmemory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func TestInMemory_PublishAndReceive(t *testing.T) {

assert.Len(t, receivedEvents, 2)

for j := range len(receivedEvents) {
for j := range receivedEvents {
if event := receivedEvents[j]; event != event1 && event != event2 {
t.Error("received events must be one of expected")
}
Expand Down
2 changes: 1 addition & 1 deletion internal/pubsub/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func TestRedis_PublishAndReceive(t *testing.T) {

assert.Len(t, receivedEvents, 2)

for j := range len(receivedEvents) {
for j := range receivedEvents {
if e := receivedEvents[j]; !eventsAreEquals(t, e, event1) && !eventsAreEquals(t, e, event2) {
t.Errorf("received events must be one of expected, but got: %+v", e)
}
Expand Down

0 comments on commit df2c56b

Please sign in to comment.