summaryrefslogtreecommitdiff
path: root/test/net
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-16 05:07:31 +0000
commit3e92b635fb5422207b7bbdc924e292e51e21f040 (patch)
tree584f90b868188077c435bf144e15e66540a73acd /test/net
parentf6f7073e125ff903b77b8cb982a7417d96d51902 (diff)
Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net')
-rw-r--r--test/net/http/test_buffered_io.rb1
-rw-r--r--test/net/http/test_http.rb1
-rw-r--r--test/net/http/test_http_request.rb1
-rw-r--r--test/net/http/test_httpheader.rb1
-rw-r--r--test/net/http/test_httpresponse.rb1
-rw-r--r--test/net/http/test_httpresponses.rb1
-rw-r--r--test/net/http/test_https.rb1
-rw-r--r--test/net/http/test_https_proxy.rb1
-rw-r--r--test/net/http/utils.rb1
-rw-r--r--test/net/pop/test_pop.rb1
-rw-r--r--test/net/protocol/test_protocol.rb1
-rw-r--r--test/net/smtp/test_response.rb1
-rw-r--r--test/net/smtp/test_smtp.rb1
-rw-r--r--test/net/smtp/test_ssl_socket.rb1
14 files changed, 14 insertions, 0 deletions
diff --git a/test/net/http/test_buffered_io.rb b/test/net/http/test_buffered_io.rb
index e24e7c1..8c299ea 100644
--- a/test/net/http/test_buffered_io.rb
+++ b/test/net/http/test_buffered_io.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'net/http'
require 'stringio'
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 714e576..d8983e9 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'test/unit'
require 'net/http'
require 'stringio'
diff --git a/test/net/http/test_http_request.rb b/test/net/http/test_http_request.rb
index 1dcb847..35c935a 100644
--- a/test/net/http/test_http_request.rb
+++ b/test/net/http/test_http_request.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
require 'stringio'
diff --git a/test/net/http/test_httpheader.rb b/test/net/http/test_httpheader.rb
index 224d8bb..2f3a0f1 100644
--- a/test/net/http/test_httpheader.rb
+++ b/test/net/http/test_httpheader.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
diff --git a/test/net/http/test_httpresponse.rb b/test/net/http/test_httpresponse.rb
index a860205..eb1a792 100644
--- a/test/net/http/test_httpresponse.rb
+++ b/test/net/http/test_httpresponse.rb
@@ -1,4 +1,5 @@
# coding: US-ASCII
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
require 'stringio'
diff --git a/test/net/http/test_httpresponses.rb b/test/net/http/test_httpresponses.rb
index bf7fbee..b389e16 100644
--- a/test/net/http/test_httpresponses.rb
+++ b/test/net/http/test_httpresponses.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/http'
require 'test/unit'
diff --git a/test/net/http/test_https.rb b/test/net/http/test_https.rb
index 8177d94..dfdb221 100644
--- a/test/net/http/test_https.rb
+++ b/test/net/http/test_https.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
begin
require 'net/https'
diff --git a/test/net/http/test_https_proxy.rb b/test/net/http/test_https_proxy.rb
index 1c8503b..f833f1a 100644
--- a/test/net/http/test_https_proxy.rb
+++ b/test/net/http/test_https_proxy.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
begin
require 'net/https'
rescue LoadError
diff --git a/test/net/http/utils.rb b/test/net/http/utils.rb
index dcd9469..8d0ecd6 100644
--- a/test/net/http/utils.rb
+++ b/test/net/http/utils.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'webrick'
begin
require "webrick/https"
diff --git a/test/net/pop/test_pop.rb b/test/net/pop/test_pop.rb
index 7aa65a4..f06ccb4 100644
--- a/test/net/pop/test_pop.rb
+++ b/test/net/pop/test_pop.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/pop'
require 'test/unit'
require 'digest/md5'
diff --git a/test/net/protocol/test_protocol.rb b/test/net/protocol/test_protocol.rb
index 4453422..0161fbc 100644
--- a/test/net/protocol/test_protocol.rb
+++ b/test/net/protocol/test_protocol.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require "test/unit"
require "net/protocol"
require "stringio"
diff --git a/test/net/smtp/test_response.rb b/test/net/smtp/test_response.rb
index cfd90b1..79ac1d2 100644
--- a/test/net/smtp/test_response.rb
+++ b/test/net/smtp/test_response.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/smtp'
require 'test/unit'
diff --git a/test/net/smtp/test_smtp.rb b/test/net/smtp/test_smtp.rb
index d8bb0c1..0edb341 100644
--- a/test/net/smtp/test_smtp.rb
+++ b/test/net/smtp/test_smtp.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/smtp'
require 'stringio'
require 'test/unit'
diff --git a/test/net/smtp/test_ssl_socket.rb b/test/net/smtp/test_ssl_socket.rb
index ff229b5..2079219 100644
--- a/test/net/smtp/test_ssl_socket.rb
+++ b/test/net/smtp/test_ssl_socket.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'net/smtp'
require 'test/unit'