fix comment

This commit is contained in:
Valentin Lorentz 2021-07-02 22:25:45 +02:00
parent 42225a68b7
commit 3fafc76baa

View File

@ -122,8 +122,8 @@ class MessageTagsTestCase(cases.BaseServerTestCase, cases.OptionalityHelper):
self.getMessages("alice") self.getMessages("alice")
self.getMessages("bob") self.getMessages("bob")
# this is right at the limit of 4094 bytes of tag data, # this is right at the limit of 4094 bytes of server tag data,
# 4096 bytes of tag section (including the starting '@' and the final ' ') # 4096 bytes of client tag data (including the starting '@' and the final ' ')
max_tagmsg = "@foo=bar;+baz=%s TAGMSG #test" % ("a" * 4081,) max_tagmsg = "@foo=bar;+baz=%s TAGMSG #test" % ("a" * 4081,)
self.assertEqual(max_tagmsg.index("TAGMSG"), 4096) self.assertEqual(max_tagmsg.index("TAGMSG"), 4096)
self.sendLine("alice", max_tagmsg) self.sendLine("alice", max_tagmsg)