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:43 +0900 |
commit | ab785b28e2f3cc879906aeaee0358c0de478499e (patch) | |
tree | 4e689da9256f3c1653117bf10cf0803276e6f6f3 /test/psych/visitors | |
parent | bae9a21e40a65c0eaacebfd4b3c3a8de08892c74 (diff) | |
download | ruby-ab785b28e2f3cc879906aeaee0358c0de478499e.tar.gz |
[ruby/psych] Use assert_raise instead of assert_raises
https://github.com/ruby/psych/commit/e6ad12b4e1
Diffstat (limited to 'test/psych/visitors')
-rw-r--r-- | test/psych/visitors/test_yaml_tree.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |