summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/open-uri/test_ftp.rb1
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