From 5a50a4d793a64737b83506da13e7dbaaabd30ffb Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Tue, 11 Nov 2025 21:49:36 +0900 Subject: [PATCH] Replace Ruby 3.5 with Ruby 4.0 This commit updates the Ruby version in the error message to follow the commit in Ruby master branch. https://github.com/ruby/ruby/commit/6d81969b475262aba251e99b518181bdf7c5a523 --- test/openssl/test_ssl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/openssl/test_ssl.rb b/test/openssl/test_ssl.rb index e700e53e3..5082dadd1 100644 --- a/test/openssl/test_ssl.rb +++ b/test/openssl/test_ssl.rb @@ -2325,12 +2325,12 @@ def test_export_keying_material end end - # OpenSSL::Buffering requires $/ accessible from non-main Ractors (Ruby 3.5) + # OpenSSL::Buffering requires $/ accessible from non-main Ractors (Ruby 4.0) # https://bugs.ruby-lang.org/issues/21109 # # Hangs on Windows # https://bugs.ruby-lang.org/issues/21537 - if respond_to?(:ractor) && RUBY_VERSION >= "3.5" && RUBY_PLATFORM !~ /mswin|mingw/ + if respond_to?(:ractor) && RUBY_VERSION >= "4.0" && RUBY_PLATFORM !~ /mswin|mingw/ ractor def test_ractor_client start_server { |port|