summaryrefslogtreecommitdiff
path: root/tests/unit.clj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit.clj')
-rw-r--r--tests/unit.clj5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit.clj b/tests/unit.clj
index 1345501..c398350 100644
--- a/tests/unit.clj
+++ b/tests/unit.clj
@@ -1689,8 +1689,9 @@
(let [replies (handle-privmsg ["#test" ":no-echo"]
alice components)]
(is (empty? replies)))
- ;; With echo-message: reply includes the message
- (swap! alice assoc :caps #{"echo-message"})
+ ;; With echo-message + message-tags: reply has @msgid=
+ (swap! alice assoc :caps
+ #{"echo-message" "message-tags"})
(let [replies (handle-privmsg ["#test" ":with-echo"]
alice components)]
(is (= 1 (count replies)))