Skip to content

Commit ac1dfee

Browse files
hsbtmatzbot
authored andcommitted
[ruby/date] Removed workaround for assert_ractor
ruby/date@700e44ef54
1 parent 8035267 commit ac1dfee

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/date/test_date_ractor.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
class TestDateParseRactor < Test::Unit::TestCase
66
def code(klass = Date, share: false)
77
<<~RUBY.gsub('Date', klass.name)
8-
class Ractor
9-
alias value take
10-
end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
11-
128
share = #{share}
139
d = Date.parse('Aug 23:55')
1410
Ractor.make_shareable(d) if share

0 commit comments

Comments
 (0)