home
·
contact
·
privacy
projects
/
ircplom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b26da5
)
Fix 432 parsers not tolerating the very intolerable inputs they should match.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 20 Sep 2025 03:02:48 +0000
(
05:02
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 20 Sep 2025 03:02:48 +0000
(
05:02
+0200)
ircplom/msg_parse_expectations.py
patch
|
blob
|
history
diff --git
a/ircplom/msg_parse_expectations.py
b/ircplom/msg_parse_expectations.py
index e91073170d9eadb9bf0828271a8578d212c59136..a394e4897300eb755577f2800ec40f179423017c 100644
(file)
--- 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(