diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-04-28 17:58:04 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-04-28 17:58:12 +0900 |
| commit | f985dafee7548faad2b35efeda5e844a8e13d336 (patch) | |
| tree | bbdaf6b7f08d7e89d0470a7f14caf3a1e1bbe413 | |
| parent | 7f1323c3bd7d957740bbc5d2c7c0e1c9f167e501 (diff) | |
Guard for < Ruby 3.0
| -rw-r--r-- | test/ostruct/test_ostruct.rb | 2 |
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" |
