home · contact · privacy
Fix 432 parsers not tolerating the very intolerable inputs they should match.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 20 Sep 2025 03:02:48 +0000 (05:02 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 20 Sep 2025 03:02:48 +0000 (05:02 +0200)
ircplom/msg_parse_expectations.py

index e91073170d9eadb9bf0828271a8578d212c59136..a394e4897300eb755577f2800ec40f179423017c 100644 (file)
@@ -394,13 +394,13 @@ MSG_EXPECTATIONS: list[_MsgParseExpectation] = [
         '432',  # ERR_ERRONEOUSNICKNAME
         _MsgTok.SERVER,
         ('*',
-         _MsgTok.NICKNAME,  # no need to re-use the bad one
+         _MsgTok.ANY,  # bad one probably fails our NICKNAME tests
          _MsgTok.ANY)),  # comment
     _MsgParseExpectation(
         '432',  # ERR_ERRONEOUSNICKNAME
         _MsgTok.SERVER,
         ((_MsgTok.NICKNAME, 'setattr_db.users.me:nick'),
-         _MsgTok.NICKNAME,  # no need to re-use the bad one
+         _MsgTok.ANY,  # bad one probably fails our NICKNAME tests
          _MsgTok.ANY)),  # comment
 
     _MsgParseExpectation(