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

Handle FrozenError if it is available to 5-1-stable #31525

Merged
merged 1 commit into from
Dec 20, 2017

Commits on Dec 20, 2017

  1. Handle FrozenError if it is available

    This pull request handles `FrozenError` introduced by Ruby 2.5.
    Refer https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/61131
    
    Since `FrozenError` is a subclass of `RuntimeError` minitest used by master
    branch can handle it, though it would be better to handle `FrozenError`
    explicitly if possible.
    
    `FrozenError` does not exist in Ruby 2.4 or lower, `frozen_error_class`
    handles which exception is expected to be raised.
    yahonda committed Dec 20, 2017
    Configuration menu
    Copy the full SHA
    0806941 View commit details
    Browse the repository at this point in the history