-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add blank verb test to msg-split #20
Comments
Yeah it definitely makes sense to have a test in here, if nothing else for safety so that server-side parsers also don't throw unexpected exceptions when getting these messages. We could either add a |
Thanks for the quick response! Going one step further, it could potentially make sense to also test for all kinds of other exceptional conditions of that sort, e.g. verbs that contain symbols/numbers/non-ASCII characters. Basically anything outside 2812's BNF definition of |
No worries! Yeah I'd see that as alright, as an FYI I tend to prefer matching real-world behaviour rather than the RFCs, so I'd wanna confirm there's no commands out there right now that include numbers/ |
This is a bit of a weird one, because it's fundamentally invalid and I'm not sure how you would handle that in the YAML -- empty verb key perhaps, and let it fail somewhere else in the stack?
Example (broken) input:
:foo
.This raises a (cryptic) exception in goshuirc 0.4.0's RFC1459Message, so I think it may be important to test for:
Similar in nature to #12, which is for blank tag/source.
The text was updated successfully, but these errors were encountered: