diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-11-11 20:39:22 +0900 |
---|---|---|
committer | nagachika <nagachika@ruby-lang.org> | 2021-11-22 10:51:35 +0900 |
commit | 5afefe4371b19155fc4d692a5ff2616ad748e9cc (patch) | |
tree | c5c8e0394dece73dc33becd094655147e2919dcb /test/psych/test_set.rb | |
parent | 5a6f8462dc00ae453268eb7b42b1d395b9f644f8 (diff) |
Bump psych version to 3.3.2
Diffstat (limited to 'test/psych/test_set.rb')
-rw-r--r-- | test/psych/test_set.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/psych/test_set.rb b/test/psych/test_set.rb index 5690957eff..87944d839e 100644 --- a/test/psych/test_set.rb +++ b/test/psych/test_set.rb @@ -21,7 +21,7 @@ module Psych ### # FIXME: Syck should also support !!set as shorthand def test_load_from_yaml - loaded = Psych.load(<<-eoyml) + loaded = Psych.unsafe_load(<<-eoyml) --- !set foo: bar bar: baz @@ -30,11 +30,11 @@ bar: baz end def test_loaded_class - assert_instance_of(Psych::Set, Psych.load(Psych.dump(@set))) + assert_instance_of(Psych::Set, Psych.unsafe_load(Psych.dump(@set))) end def test_set_shorthand - loaded = Psych.load(<<-eoyml) + loaded = Psych.unsafe_load(<<-eoyml) --- !!set foo: bar bar: baz |