Add frozen checks in Ruby (#5726)
* add frozen checks * Use rb_check_frozen * Correct assertion on frozen error message The second argument for the method assert_raise is the message to show when the assertion fails. It does not check the error object's message. Add an additional assertion that does check the error's message. * do frozen check first
Showing
Please
register
or
sign in
to comment