Allow trailing space in RPL_WHOISCHANNELS

This commit is contained in:
Valentin Lorentz 2024-04-12 11:03:36 +02:00
parent 9391a9128d
commit 1cd32a9069

View File

@ -96,7 +96,9 @@ class _WhoisTestMixin(cases.BaseServerTestCase):
params=[
"nick1",
"nick2",
StrRe("(@#chan1 @#chan2|@#chan2 @#chan1)"),
# trailing space was required by the RFCs, and Modern explicitly
# allows it
StrRe("(@#chan1 @#chan2|@#chan2 @#chan1) ?"),
],
)
elif m.command == RPL_WHOISSPECIAL: