ruby-changes:48943
From: shugo <ko1@a...>
Date: Thu, 7 Dec 2017 08:56:11 +0900 (JST)
Subject: [ruby-changes:48943] shugo:r61062 (trunk): remove unnecessary read_timeout.
shugo 2017-12-07 08:56:04 +0900 (Thu, 07 Dec 2017) New Revision: 61062 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61062 Log: remove unnecessary read_timeout. Modified files: trunk/test/net/ftp/test_ftp.rb Index: test/net/ftp/test_ftp.rb =================================================================== --- test/net/ftp/test_ftp.rb (revision 61061) +++ test/net/ftp/test_ftp.rb (revision 61062) @@ -573,7 +573,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L573 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -715,7 +714,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L714 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -761,7 +759,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L759 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -806,7 +803,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L803 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -854,7 +850,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L850 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -907,7 +902,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L902 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) @@ -946,7 +940,6 @@ class FTPTest < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/ftp/test_ftp.rb#L940 begin begin ftp = Net::FTP.new - ftp.read_timeout = 0.2 ftp.connect(SERVER_ADDR, server.port) ftp.login assert_match(/\AUSER /, commands.shift) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/