From f985dafee7548faad2b35efeda5e844a8e13d336 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 28 Apr 2021 17:58:04 +0900 Subject: Guard for < Ruby 3.0 --- test/ostruct/test_ostruct.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb index d41eae9332..ba6b701298 100644 --- a/test/ostruct/test_ostruct.rb +++ b/test/ostruct/test_ostruct.rb @@ -353,7 +353,7 @@ class TC_OpenStruct < Test::Unit::TestCase end.take assert obj1.object_id == obj2.object_id RUBY - end + end if defined?(Ractor) def test_legacy_yaml s = "--- !ruby/object:OpenStruct\ntable:\n :foo: 42\n" -- cgit v1.2.3