summaryrefslogtreecommitdiff
path: root/test/psych/test_class.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/psych/test_class.rb')
-rw-r--r--test/psych/test_class.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_class.rb b/test/psych/test_class.rb
index 71f7ec31fd1..faa504c7e2c 100644
--- a/test/psych/test_class.rb
+++ b/test/psych/test_class.rb
@@ -7,13 +7,13 @@ module Psych
end
def test_cycle_anonymous_class
- assert_raises(::TypeError) do
+ assert_raise(::TypeError) do
assert_cycle(Class.new)
end
end
def test_cycle_anonymous_module
- assert_raises(::TypeError) do
+ assert_raise(::TypeError) do
assert_cycle(Module.new)
end
end