Skip to content

Commit fd61177

Browse files
committedJun 4, 2025··
Removed workaround for assert_ractor
1 parent 3dbe760 commit fd61177

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed
 

‎Gemfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ gemspec
99
gem 'fileutils', '>= 1.2.0'
1010
gem 'rake-compiler'
1111
gem 'test-unit'
12-
gem "test-unit-ruby-core"
12+
gem "test-unit-ruby-core", '>= 1.0.7'
1313
gem "rdoc"

‎test/etc/test_etc.rb‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,6 @@ def test_ractor_parallel
178178
omit "This test is flaky and intermittently failing now on ModGC workflow" if ENV['GITHUB_WORKFLOW'] == 'ModGC'
179179

180180
assert_ractor(<<~RUBY, require: 'etc', timeout: 60)
181-
class Ractor
182-
alias join take
183-
end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
184-
185181
10.times.map do
186182
Ractor.new do
187183
100.times do
@@ -208,10 +204,6 @@ class Ractor
208204

209205
def test_ractor_unsafe
210206
assert_ractor(<<~RUBY, require: 'etc')
211-
class Ractor
212-
alias value take
213-
end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
214-
215207
r = Ractor.new do
216208
begin
217209
Etc.passwd

0 commit comments

Comments
 (0)
Please sign in to comment.