We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0883b9d commit 962892fCopy full SHA for 962892f
1 file changed
test/psych/test_object_references.rb
@@ -36,6 +36,8 @@ def assert_reference_trip obj
36
assert_match(/\*-?\d+/, yml)
37
begin
38
data = Psych.load yml
39
+ rescue Psych::AliasesNotEnabled
40
+ data = Psych.load yml, aliases: true
41
rescue Psych::DisallowedClass
42
data = Psych.unsafe_load yml
43
end
0 commit comments