• 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
..
defs.c Loading commit data...
encode_decode.c Loading commit data...
extconf.rb Loading commit data...
map.c Loading commit data...
message.c Loading commit data...
protobuf.c Loading commit data...
protobuf.h Loading commit data...
repeated_field.c Loading commit data...
storage.c Loading commit data...
upb.c Loading commit data...
upb.h Loading commit data...
wrap_memcpy.c Loading commit data...