aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2024-07-05 17:30:03 +0900
committergit <svn-admin@ruby-lang.org>2024-07-08 04:53:12 +0000
commit3d78e633121711c9bff9eff1b5b955605f50704f (patch)
tree3c1ebc4b09ad3ef32d41e6381c9ef191ac8242d3
parent09c52b91b9f288cf75aed854a34d429e628774ca (diff)
downloadruby-3d78e633121711c9bff9eff1b5b955605f50704f.tar.gz
[ruby/open-uri] Load stringio with the correct files
https://github.com/ruby/open-uri/commit/cb17a907a2
-rw-r--r--test/open-uri/test_open-uri.rb1
-rw-r--r--test/open-uri/test_proxy.rb1
-rw-r--r--test/open-uri/test_ssl.rb1
3 files changed, 2 insertions, 1 deletions
diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb
index ee39dbc4cc..9db6a8bb3b 100644
--- a/test/open-uri/test_open-uri.rb
+++ b/test/open-uri/test_open-uri.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require 'test/unit'
require 'open-uri'
+require 'stringio'
require_relative 'utils'
begin
require 'zlib'
diff --git a/test/open-uri/test_proxy.rb b/test/open-uri/test_proxy.rb
index 85f23d9f5e..a36a63f21f 100644
--- a/test/open-uri/test_proxy.rb
+++ b/test/open-uri/test_proxy.rb
@@ -1,6 +1,7 @@
# frozen_string_literal: true
require 'test/unit'
require 'open-uri'
+require 'stringio'
require_relative 'utils'
class TestOpenURIProxy < Test::Unit::TestCase
diff --git a/test/open-uri/test_ssl.rb b/test/open-uri/test_ssl.rb
index cc0a7517ef..31b93e0b13 100644
--- a/test/open-uri/test_ssl.rb
+++ b/test/open-uri/test_ssl.rb
@@ -1,7 +1,6 @@
# frozen_string_literal: true
require 'test/unit'
require 'open-uri'
-require 'stringio'
require_relative 'utils'
begin
require 'openssl'