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

Message#== doesn't work with non-messages #51

Closed
bkerley opened this issue Mar 21, 2014 · 0 comments · Fixed by #52
Closed

Message#== doesn't work with non-messages #51

bkerley opened this issue Mar 21, 2014 · 0 comments · Fixed by #52

Comments

@bkerley
Copy link
Member

bkerley commented Mar 21, 2014

https://github.com/protobuf-ruby/beefcake/blob/master/lib/beefcake.rb#L237

This raises an exception, expected false:

some_message == :symbol

This works:

:symbol == some_message
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 a pull request may close this issue.

1 participant