• 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
..
compatibility_tests/v3.0.0 Loading commit data...
ext/google/protobuf_c Loading commit data...
lib/google Loading commit data...
src/main Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
Gemfile Loading commit data...
README.md Loading commit data...
Rakefile Loading commit data...
google-protobuf.gemspec Loading commit data...
pom.xml Loading commit data...
travis-test.sh Loading commit data...