summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2025-06-04 14:24:43 +0900
committergit <[email protected]>2025-06-04 05:28:25 +0000
commitac1dfee44aaf8d33cfb47dcb39f0edef6c2a22e2 (patch)
tree7117929c4acb936049ec476b949a243de68a5f75 /test
parent803526786a2a8e4ee4649150f9d8c51e8cb71c22 (diff)
[ruby/date] Removed workaround for assert_ractor
https://github.com/ruby/date/commit/700e44ef54
Diffstat (limited to 'test')
-rw-r--r--test/date/test_date_ractor.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/date/test_date_ractor.rb b/test/date/test_date_ractor.rb
index 1bcd913389..91ea38bb93 100644
--- a/test/date/test_date_ractor.rb
+++ b/test/date/test_date_ractor.rb
@@ -5,10 +5,6 @@ require 'date'
class TestDateParseRactor < Test::Unit::TestCase
def code(klass = Date, share: false)
<<~RUBY.gsub('Date', klass.name)
- class Ractor
- alias value take
- end unless Ractor.method_defined? :value # compat with Ruby 3.4 and olders
-
share = #{share}
d = Date.parse('Aug 23:55')
Ractor.make_shareable(d) if share