Skip to content
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

Failed parse throws an exception, need throws-ok #1

Merged
merged 2 commits into from Oct 5, 2016

Conversation

jonathanstowe
Copy link
Collaborator

With this the parser.t runs successfully :)

@@ -30,7 +30,7 @@ for @server-commands {

\0
TEST
nok Stomp::Parser::ClientCommands.parse(qq:to/TEST/), "Client parser rejects $_";
throws-like { nok Stomp::Parser::ClientCommands.parse(qq:to/TEST/) }, X::Stomp::MalformedMessage,reason => 'invalid command', "Client parser rejects $_";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to lose the indent here? :-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I got confused :)

@jonathanstowe jonathanstowe merged commit 1744ed6 into jnthn:master Oct 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants