Skip to content

Add blank verb test to msg-split #20

@paravoid

Description

@paravoid

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:

goshuirc-irc/girc/ircreactor/envelope.py in from_message(cls, message)
    104             s = s[1:]
    105 
--> 106         verb = s[0].upper()
    107         original_params = s[1:]
    108         params = []

IndexError: list index out of range

Similar in nature to #12, which is for blank tag/source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions