Skip to content

Commit a0b8bb6

Browse files
committed
Removed workaround for assert_ractor
This workaround has been added test-unit-ruby-core. We don't need to care that on our test suite.
1 parent 41d8974 commit a0b8bb6

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ group :development do
88
gem "rake"
99
gem "rake-compiler"
1010
gem "test-unit"
11-
gem "test-unit-ruby-core"
11+
gem "test-unit-ruby-core", ">= 1.0.7"
1212
gem "all_images", "~> 0" unless RUBY_PLATFORM =~ /java/
1313

1414
if ENV['BENCHMARK']

test/json/ractor_test.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
end
99

1010
class JSONInRactorTest < Test::Unit::TestCase
11-
unless Ractor.method_defined?(:value)
12-
module RactorBackport
13-
refine Ractor do
14-
alias_method :value, :take
15-
end
16-
end
17-
18-
using RactorBackport
19-
end
20-
2111
def test_generate
2212
pid = fork do
2313
r = Ractor.new do

0 commit comments

Comments
 (0)