summaryrefslogtreecommitdiff
path: root/test/ruby/test_object.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_object.rb')
-rw-r--r--test/ruby/test_object.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb
index 1d6c6e3023..7db41a6530 100644
--- a/test/ruby/test_object.rb
+++ b/test/ruby/test_object.rb
@@ -29,8 +29,8 @@ class TestObject < Test::Unit::TestCase
end
obj = cls.new
- assert_throws(:initialize_clone) {obj.clone}
- assert_throws(:initialize_dup) {obj.dup}
+ assert_throw(:initialize_clone) {obj.clone}
+ assert_throw(:initialize_dup) {obj.dup}
end
def test_instance_of