summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ostruct/test_ostruct.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb
index d41eae9332..ba6b701298 100644
--- a/test/ostruct/test_ostruct.rb
+++ b/test/ostruct/test_ostruct.rb
@@ -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"