summaryrefslogtreecommitdiff
path: root/test/-ext-/string
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/-ext-/string
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/-ext-/string')
-rw-r--r--test/-ext-/string/test_coderange.rb1
-rw-r--r--test/-ext-/string/test_cstr.rb1
-rw-r--r--test/-ext-/string/test_ellipsize.rb1
-rw-r--r--test/-ext-/string/test_enc_associate.rb1
-rw-r--r--test/-ext-/string/test_enc_str_buf_cat.rb1
-rw-r--r--test/-ext-/string/test_fstring.rb1
-rw-r--r--test/-ext-/string/test_modify_expand.rb1
-rw-r--r--test/-ext-/string/test_nofree.rb1
-rw-r--r--test/-ext-/string/test_normalize.rb1
-rw-r--r--test/-ext-/string/test_qsort.rb1
-rw-r--r--test/-ext-/string/test_set_len.rb1
11 files changed, 11 insertions, 0 deletions
diff --git a/test/-ext-/string/test_coderange.rb b/test/-ext-/string/test_coderange.rb
index 31f5c87..18b256f 100644
--- a/test/-ext-/string/test_coderange.rb
+++ b/test/-ext-/string/test_coderange.rb
@@ -1,4 +1,5 @@
# coding: ascii-8bit
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
require "rbconfig/sizeof"
diff --git a/test/-ext-/string/test_cstr.rb b/test/-ext-/string/test_cstr.rb
index 4be2cc9..f4ed520 100644
--- a/test/-ext-/string/test_cstr.rb
+++ b/test/-ext-/string/test_cstr.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_ellipsize.rb b/test/-ext-/string/test_ellipsize.rb
index 23ccdb5..d794704 100644
--- a/test/-ext-/string/test_ellipsize.rb
+++ b/test/-ext-/string/test_ellipsize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_enc_associate.rb b/test/-ext-/string/test_enc_associate.rb
index 2c84f49..4fad8e1 100644
--- a/test/-ext-/string/test_enc_associate.rb
+++ b/test/-ext-/string/test_enc_associate.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_enc_str_buf_cat.rb b/test/-ext-/string/test_enc_str_buf_cat.rb
index c925aff..72f9039 100644
--- a/test/-ext-/string/test_enc_str_buf_cat.rb
+++ b/test/-ext-/string/test_enc_str_buf_cat.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_fstring.rb b/test/-ext-/string/test_fstring.rb
index 3ad9a4c..39ed020 100644
--- a/test/-ext-/string/test_fstring.rb
+++ b/test/-ext-/string/test_fstring.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require '-test-/string'
diff --git a/test/-ext-/string/test_modify_expand.rb b/test/-ext-/string/test_modify_expand.rb
index cc19a47..5eb7a02 100644
--- a/test/-ext-/string/test_modify_expand.rb
+++ b/test/-ext-/string/test_modify_expand.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_nofree.rb b/test/-ext-/string/test_nofree.rb
index cb034a4..86681e4 100644
--- a/test/-ext-/string/test_nofree.rb
+++ b/test/-ext-/string/test_nofree.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class Test_StringNoFree < Test::Unit::TestCase
diff --git a/test/-ext-/string/test_normalize.rb b/test/-ext-/string/test_normalize.rb
index b270a45..8c11bfe 100644
--- a/test/-ext-/string/test_normalize.rb
+++ b/test/-ext-/string/test_normalize.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
require "tempfile"
diff --git a/test/-ext-/string/test_qsort.rb b/test/-ext-/string/test_qsort.rb
index 1a6dae0..94aff8c 100644
--- a/test/-ext-/string/test_qsort.rb
+++ b/test/-ext-/string/test_qsort.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"
diff --git a/test/-ext-/string/test_set_len.rb b/test/-ext-/string/test_set_len.rb
index 198129d..1c5252a 100644
--- a/test/-ext-/string/test_set_len.rb
+++ b/test/-ext-/string/test_set_len.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require "-test-/string"