diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2017-09-21 15:08:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-21 15:08:45 -0700 |
commit | 4fc75296c781e851b887da6d05fed722acf3373b (patch) | |
tree | 8e66ed46d842268594e18f6b33468997a9e4249f /ruby/compatibility_tests/v3.0.0/tests/basic.rb | |
parent | 2b0ee3fdf62577708eea74db3c31853782ae4efe (diff) | |
parent | 633ef8bde974a236ef1bdec58c246c0a798d2aa9 (diff) |
Merge pull request #3627 from zanker/zanker/add-submsg-hash-init
Allow initializing a chain of protos using only a hash in Ruby
Diffstat (limited to 'ruby/compatibility_tests/v3.0.0/tests/basic.rb')
-rw-r--r-- | ruby/compatibility_tests/v3.0.0/tests/basic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/compatibility_tests/v3.0.0/tests/basic.rb b/ruby/compatibility_tests/v3.0.0/tests/basic.rb index f81e456c..05fe0278 100644 --- a/ruby/compatibility_tests/v3.0.0/tests/basic.rb +++ b/ruby/compatibility_tests/v3.0.0/tests/basic.rb @@ -600,7 +600,7 @@ module BasicTest assert_raise RangeError do m["z"] = :Z end - assert_raise TypeError do + assert_raise RangeError do m["z"] = "z" end end |