diff --git a/Gemfile b/Gemfile index ba909e8..6669eae 100644 --- a/Gemfile +++ b/Gemfile @@ -6,5 +6,5 @@ group :development do gem "bundler" gem "rake" gem "test-unit" - gem "test-unit-ruby-core" + gem "test-unit-ruby-core", ">= 1.0.7" end diff --git a/test/uri/test_common.rb b/test/uri/test_common.rb index fef3f70..fef785a 100644 --- a/test/uri/test_common.rb +++ b/test/uri/test_common.rb @@ -74,9 +74,6 @@ def test_extract def test_ractor return unless defined?(Ractor) assert_ractor(<<~RUBY, require: 'uri') - class Ractor - alias value take unless method_defined? :value # compat with Ruby 3.4 and olders - end r = Ractor.new { URI.parse("https://ruby-lang.org/").inspect } assert_equal(URI.parse("https://ruby-lang.org/").inspect, r.value) RUBY