frosty/test/models
Tommy Chow c27a37d52f fix recent messages by handling valueless and escaped irc tags
The recent-messages API now serializes empty IRCv3 tags as bare keys
(e.g. `emotes`) instead of `emotes=`, which threw a RangeError in the
tag parser and silently dropped every recent message. Parse tags per the
IRCv3 spec: treat bare and empty values as equivalent, split on the first
`=` so values may contain `=`, and unescape values in a single pass
(\: \s \ \r \n). Also guard user extraction against prefixes without
`!`, and isolate per-message parse failures in _handleIRCData so one bad
message can no longer abort an entire batch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 21:53:53 -07:00
..
badges_test.dart v5 (#463) 2026-01-01 22:28:17 -05:00
category_test.dart overhaul tests 2026-02-07 00:51:22 -08:00
channel_test.dart overhaul tests 2026-02-07 00:51:22 -08:00
chatters_test.dart overhaul tests 2026-02-07 00:51:22 -08:00
emotes_test.dart overhaul tests 2026-02-07 00:51:22 -08:00
events_test.dart overhaul tests 2026-02-07 00:51:22 -08:00
irc_test.dart fix recent messages by handling valueless and escaped irc tags 2026-06-08 21:53:53 -07:00
shared_chat_session_test.dart overhaul tests 2026-02-07 00:51:22 -08:00
stream_test.dart overhaul tests 2026-02-07 00:51:22 -08:00
user_test.dart overhaul tests 2026-02-07 00:51:22 -08:00