diff options
author | Alexander Momchilov <alexander.momchilov@shopify.com> | 2022-07-21 15:07:39 -0400 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-08-09 01:32:47 +0900 |
commit | 54219ae8c46bc431782caf01142883ce7e8b970b (patch) | |
tree | 8f0cecd389935d48f3214d0ded8fb46951015562 /test/psych/test_array.rb | |
parent | 71f89c287459d5ca313d0b1a16b7a743e0d71b8b (diff) | |
download | ruby-54219ae8c46bc431782caf01142883ce7e8b970b.tar.gz |
[ruby/psych] Raise specific error when aliases are not enabled
https://github.com/ruby/psych/commit/0c11ddcf46
Diffstat (limited to 'test/psych/test_array.rb')
-rw-r--r-- | test/psych/test_array.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_array.rb b/test/psych/test_array.rb index 6a9931ab2f..0dc82439d4 100644 --- a/test/psych/test_array.rb +++ b/test/psych/test_array.rb @@ -68,7 +68,7 @@ module Psych def test_recursive_array_uses_alias @list << @list - assert_raise(BadAlias) do + assert_raise(AliasesNotEnabled) do Psych.load(Psych.dump(@list), aliases: false) end end |