Skip to content

Commit 9259ec4

Browse files
committed
Fix ractor test
1 parent 5434978 commit 9259ec4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/stdlib/Ractor_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ class RactorInstanceTest < Test::Unit::TestCase
132132
testing "::Ractor"
133133

134134
def test_aref
135+
omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5"
136+
135137
r = Ractor.new {}
136138
r['foo'] = 'bar'
137139
assert_send_type "(String) -> untyped",
@@ -141,6 +143,8 @@ def test_aref
141143
end
142144

143145
def test_aset
146+
omit "Accessing ractor local storage" if RUBY_VERSION >= "3.5"
147+
144148
r = Ractor.new {}
145149
assert_send_type "(String, String) -> String",
146150
r, :[]=, 'foo', 'bar'

0 commit comments

Comments
 (0)