Skip to content

Commit 8035267

Browse files
hsbtmatzbot
authored andcommitted
[ruby/time] Removed workaround for assert_ractor
ruby/time@337410e971
1 parent 04b26db commit 8035267

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/test_time.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ def test_rfc2822_nonlinear
7474
if defined?(Ractor)
7575
def test_rfc2822_ractor
7676
assert_ractor(<<~RUBY, require: 'time')
77-
class Ractor
78-
alias value take unless method_defined? :value # compat with Ruby 3.4 and olders
79-
end
8077
actual = Ractor.new { Time.rfc2822("Fri, 21 Nov 1997 09:55:06 -0600") }.value
8178
assert_equal(Time.utc(1997, 11, 21, 9, 55, 6) + 6 * 3600, actual)
8279
RUBY

0 commit comments

Comments
 (0)