diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-07-08 14:20:29 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2024-07-08 15:15:46 +0900 |
commit | 4658d65242f58102084528f628eb4a8d5275b414 (patch) | |
tree | ff54bf892bbd9bf2008dd626542d6056008d9718 | |
parent | 95bf9049a71e4e6fbaea9709df4257e21675d94f (diff) | |
download | ruby-4658d65242f58102084528f628eb4a8d5275b414.tar.gz |
Load socket explicitly for TCPServer
-rw-r--r-- | test/open-uri/test_ftp.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/open-uri/test_ftp.rb b/test/open-uri/test_ftp.rb index 3a6cd14ea9..9698ff2777 100644 --- a/test/open-uri/test_ftp.rb +++ b/test/open-uri/test_ftp.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true require 'test/unit' +require 'socket' require 'open-uri' class TestOpenURIFtp < Test::Unit::TestCase |