ruby-changes:66008
From: Hiroshi <ko1@a...>
Date: Wed, 28 Apr 2021 17:59:42 +0900 (JST)
Subject: [ruby-changes:66008] f985dafee7 (master): Guard for < Ruby 3.0
https://git.ruby-lang.org/ruby.git/commit/?id=f985dafee7 From f985dafee7548faad2b35efeda5e844a8e13d336 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> 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 d41eae9..ba6b701 100644 --- a/test/ostruct/test_ostruct.rb +++ b/test/ostruct/test_ostruct.rb @@ -353,7 +353,7 @@ class TC_OpenStruct < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ostruct/test_ostruct.rb#L353 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.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/