From: Christian Heller Date: Sat, 20 Sep 2025 03:02:48 +0000 (+0200) Subject: Fix 432 parsers not tolerating the very intolerable inputs they should match. X-Git-Url: https://plomlompom.com/repos/booking/conditions?a=commitdiff_plain;h=f5ca8c2d68d93fd197e6e2657ef8edb7b587a1c4;p=ircplom Fix 432 parsers not tolerating the very intolerable inputs they should match. --- diff --git a/ircplom/msg_parse_expectations.py b/ircplom/msg_parse_expectations.py index e910731..a394e48 100644 --- a/ircplom/msg_parse_expectations.py +++ b/ircplom/msg_parse_expectations.py @@ -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(