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:
parent
7f1323c3bd
commit
f985dafee7
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue