diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 04:37:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-30 04:37:13 +0000 |
commit | 068f312a7c642a1b6c358c17ef83421756568545 (patch) | |
tree | 11ce5c67053f28051a34523281a8ad2f5b670d6e /test/ruby | |
parent | a2845a44ffd3c9ddef704dac1ba1fa2766a64555 (diff) | |
download | ruby-068f312a7c642a1b6c358c17ef83421756568545.tar.gz |
use assert_raise
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_hash.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb index e8d3d21484..e8f0f87326 100644 --- a/test/ruby/test_hash.rb +++ b/test/ruby/test_hash.rb @@ -506,7 +506,7 @@ class TestHash < Test::Unit::TestCase assert_equal(4, res.length) assert_equal %w( three two one nil ), res - assert_raises KeyError do + assert_raise KeyError do @h.fetch_values(3, 'invalid') end |