aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_hash.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_hash.rb')
-rw-r--r--test/ruby/test_hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index 21fbf410ff..9bbe48cf33 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -99,7 +99,7 @@ class TestHash < Test::Unit::TestCase
super(Object.new)
end
}.new
- assert_raises(TypeError) { h.dup }
+ assert_raise(TypeError) { h.dup }
end
def test_clear_initialize_copy