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_ractor.rb | |
parent | 5a6f8462dc00ae453268eb7b42b1d395b9f644f8 (diff) |
Bump psych version to 3.3.2
Diffstat (limited to 'test/psych/test_ractor.rb')
-rw-r--r-- | test/psych/test_ractor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/psych/test_ractor.rb b/test/psych/test_ractor.rb index c6bed7ce69..1b0d810609 100644 --- a/test/psych/test_ractor.rb +++ b/test/psych/test_ractor.rb @@ -6,7 +6,7 @@ class TestPsychRactor < Test::Unit::TestCase assert_ractor(<<~RUBY, require_relative: 'helper') obj = {foo: [42]} obj2 = Ractor.new(obj) do |obj| - Psych.load(Psych.dump(obj)) + Psych.unsafe_load(Psych.dump(obj)) end.take assert_equal obj, obj2 RUBY @@ -47,4 +47,4 @@ class TestPsychRactor < Test::Unit::TestCase assert_equal true, r RUBY end -end if defined?(Test::Unit::TestCase) +end if defined?(Ractor) |