1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Guard for < Ruby 3.0

This commit is contained in:
Hiroshi SHIBATA 2021-04-28 17:58:04 +09:00
parent 7f1323c3bd
commit f985dafee7
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -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"