summaryrefslogtreecommitdiff
path: root/test/psych/test_yamlstore.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_yamlstore.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_yamlstore.rb')
-rw-r--r--test/psych/test_yamlstore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_yamlstore.rb b/test/psych/test_yamlstore.rb
index d1e927cefe..1cd3ec4b87 100644
--- a/test/psych/test_yamlstore.rb
+++ b/test/psych/test_yamlstore.rb
@@ -76,7 +76,7 @@ module Psych
end
def test_writing_inside_readonly_transaction_raises_error
- assert_raises(PStore::Error) do
+ assert_raise(PStore::Error) do
@yamlstore.transaction(true) do
@yamlstore[:foo] = "bar"
end