Skip to content

Commit

Permalink
fix(test): recognize msg param on handler fn
Browse files Browse the repository at this point in the history
  • Loading branch information
J0sueTM committed Jul 9, 2024
1 parent df6cc01 commit e4df790
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/com/moclojer/rq/pubsub_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
:msgs messages
:workers (map (fn [[chan msg]]
{:channel chan
:handler #(swap! state conj msg)})
:handler (fn [_]
(swap! state conj msg))})
chans-msgs)}))

(t/deftest pubsub-test
Expand Down

0 comments on commit e4df790

Please sign in to comment.