Guard for < Ruby 3.0
This commit is contained in:
parent
7f1323c3bd
commit
f985dafee7
@ -353,7 +353,7 @@ class TC_OpenStruct < Test::Unit::TestCase
|
|||||||
end.take
|
end.take
|
||||||
assert obj1.object_id == obj2.object_id
|
assert obj1.object_id == obj2.object_id
|
||||||
RUBY
|
RUBY
|
||||||
end
|
end if defined?(Ractor)
|
||||||
|
|
||||||
def test_legacy_yaml
|
def test_legacy_yaml
|
||||||
s = "--- !ruby/object:OpenStruct\ntable:\n :foo: 42\n"
|
s = "--- !ruby/object:OpenStruct\ntable:\n :foo: 42\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user