diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-10 19:09:17 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-10 19:09:25 +0900 |
commit | e6ad12b4e15dd11232d591b9faedcc9ca2b50af6 (patch) | |
tree | d824d222f328f80071a3c11f245aa3d8a2bbcf91 /test/psych/test_class.rb | |
parent | ef8bb17f2572792b6ae8e797417bdfa57f7af41e (diff) | |
download | psych-e6ad12b4e15dd11232d591b9faedcc9ca2b50af6.zip |
Use assert_raise instead of assert_raises
Diffstat (limited to 'test/psych/test_class.rb')
-rw-r--r-- | test/psych/test_class.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_class.rb b/test/psych/test_class.rb index 71f7ec3..faa504c 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 |