summaryrefslogtreecommitdiff
path: root/test/psych/test_document.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-10 19:09:17 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-10 19:09:43 +0900
commitab785b28e2f3cc879906aeaee0358c0de478499e (patch)
tree4e689da9256f3c1653117bf10cf0803276e6f6f3 /test/psych/test_document.rb
parentbae9a21e40a65c0eaacebfd4b3c3a8de08892c74 (diff)
[ruby/psych] Use assert_raise instead of assert_raises
https://github.com/ruby/psych/commit/e6ad12b4e1
Diffstat (limited to 'test/psych/test_document.rb')
-rw-r--r--test/psych/test_document.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_document.rb b/test/psych/test_document.rb
index a88dd32f0d..cf3b7001fc 100644
--- a/test/psych/test_document.rb
+++ b/test/psych/test_document.rb
@@ -30,7 +30,7 @@ module Psych
end
def test_emit_bad_tag
- assert_raises(RuntimeError) do
+ assert_raise(RuntimeError) do
@doc.tag_directives = [['!']]
@stream.yaml
end