• Joe Bolinger's avatar
    Add frozen checks in Ruby (#5726) · 76685c6f
    Joe Bolinger authored
    * 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
    76685c6f
Name
Last commit
Last update
..
basic.rb Loading commit data...
basic_proto2.rb Loading commit data...
basic_test.proto Loading commit data...
basic_test_proto2.proto Loading commit data...
common_tests.rb Loading commit data...
encode_decode_test.rb Loading commit data...
gc_test.rb Loading commit data...
generated_code.proto Loading commit data...
generated_code_proto2.proto Loading commit data...
generated_code_proto2_test.rb Loading commit data...
generated_code_test.rb Loading commit data...
repeated_field_test.rb Loading commit data...
stress.rb Loading commit data...
test_import.proto Loading commit data...
test_import_proto2.proto Loading commit data...
test_ruby_package.proto Loading commit data...
test_ruby_package_proto2.proto Loading commit data...
type_errors.rb Loading commit data...
well_known_types_test.rb Loading commit data...