1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/net
normal e56d34001f net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while working on something else with
RUBYOPT=-d on, existing test cases all passed with it.

Note: I use String.new because it is the local style, here,
I prefer +'' (or ''.b, for a future commit)

* lib/net/ftp.rb (BufferedSocket#read): use String.new
* test/net/ftp/test_buffered_socket.rb (test_read_nil): new test
  [ruby-core:84675] [Bug #14323]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-06 09:21:35 +00:00
..
fixtures net/http: don't use OpenSSL::TestUtils from test code 2016-11-29 15:48:45 +00:00
ftp net/ftp: fix FrozenError in BufferedSocket 2018-01-06 09:21:35 +00:00
http raise error if value contains CR/LF in iniheader of initialize_http_header 2017-12-20 12:06:59 +00:00
imap $SAFE as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00
pop lib/net/pop.rb: Specify frozen_string_literal: true. 2017-01-10 12:32:56 +00:00
protocol revert r57323 2017-01-14 09:38:56 +00:00
smtp skip openssl related tests. 2017-05-16 04:23:10 +00:00