From ab785b28e2f3cc879906aeaee0358c0de478499e Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 10 May 2021 19:09:17 +0900 Subject: [ruby/psych] Use assert_raise instead of assert_raises https://github.com/ruby/psych/commit/e6ad12b4e1 --- test/psych/visitors/test_yaml_tree.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/psych/visitors/test_yaml_tree.rb') diff --git a/test/psych/visitors/test_yaml_tree.rb b/test/psych/visitors/test_yaml_tree.rb index 69885ee9c6..2e6830868e 100644 --- a/test/psych/visitors/test_yaml_tree.rb +++ b/test/psych/visitors/test_yaml_tree.rb @@ -127,11 +127,11 @@ module Psych end def test_anon_class - assert_raises(TypeError) do + assert_raise(TypeError) do @v.accept Class.new end - assert_raises(TypeError) do + assert_raise(TypeError) do Psych.dump(Class.new) end end -- cgit v1.2.3