We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fad5a9 commit 945e412Copy full SHA for 945e412
1 file changed
tests/subscribe.nim
@@ -181,12 +181,12 @@ suite "test suite for subscribe":
181
await ctxListen.subscribe("test/#", 0, on_data_sub_all)
182
await sleepAsync 500
183
await ctxMain.publish("test/random1", msg, 0)
184
- await ctxMain.publish("test/random2", msg, 0)
+ await ctxMain.publish("second/random2", msg, 0)
185
await ctxMain.publish("test/random3", msg, 0)
186
187
await ctxListen.unsubscribe("test/#")
188
189
- check(msgCount == 3)
+ check(msgCount == 2)
190
191
waitFor conn()
192
0 commit comments