Skip to content

Commit

Permalink
Guard for < Ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Apr 28, 2021
1 parent 7f1323c commit f985daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ostruct/test_ostruct.rb
Expand Up @@ -353,7 +353,7 @@ def test_ractor
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"
Expand Down

0 comments on commit f985daf

Please sign in to comment.