Skip to content

Conversation

meineerde
Copy link

In Ruby 2.4 and older, there is no dedicated FrozenError exception. Instead, those Rubies raised a RuntimeError when trying to modify a frozen object.

This pull requests fixes the tests on Ruby 2.4 by "mocking" the FrozenError class in the scope of the test to be the RuntimeError class.

Note: this pull request is on top of #4 (for a more linear history). If you want to only merge this one, I can gladly move the commits around.

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.

1 participant