diff options
Diffstat (limited to 'test/psych/test_ractor.rb')
-rw-r--r-- | test/psych/test_ractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/psych/test_ractor.rb b/test/psych/test_ractor.rb index 61b80a1226..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 |