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

Add specs for missing cases #695

Merged
merged 4 commits into from May 17, 2019
Merged

Add specs for missing cases #695

merged 4 commits into from May 17, 2019

Conversation

eregon
Copy link
Collaborator

@eregon eregon commented May 16, 2019

Along with my mostly pure-Ruby implementation for TruffleRuby (#660), I discovered a few incompatibilities in TruffleRuby which were not covered by existing specs.

So in this PR, I add specs for previously untested code.
cc @larskanis

* Nothing was testing #read_bytes before.
Copy link
Member

@larskanis larskanis left a comment

Choose a reason for hiding this comment

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

Nice catch - thank you!

spec/ffi/callback_spec.rb Outdated Show resolved Hide resolved
@eregon
Copy link
Collaborator Author

eregon commented May 17, 2019

@larskanis Could you merge this? :)

@larskanis larskanis merged commit 1bda3ef into ffi:master May 17, 2019
@eregon
Copy link
Collaborator Author

eregon commented May 17, 2019

Thanks!

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