summaryrefslogtreecommitdiff
path: root/test/testunit
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/testunit
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/testunit')
-rw-r--r--test/testunit/test4test_hideskip.rb1
-rw-r--r--test/testunit/test4test_redefinition.rb1
-rw-r--r--test/testunit/test4test_sorting.rb1
-rw-r--r--test/testunit/test_assertion.rb1
-rw-r--r--test/testunit/test_hideskip.rb1
-rw-r--r--test/testunit/test_parallel.rb1
-rw-r--r--test/testunit/test_redefinition.rb1
-rw-r--r--test/testunit/test_sorting.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_first.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_forth.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_second.rb1
-rw-r--r--test/testunit/tests_for_parallel/ptest_third.rb1
-rw-r--r--test/testunit/tests_for_parallel/runner.rb1
13 files changed, 13 insertions, 0 deletions
diff --git a/test/testunit/test4test_hideskip.rb b/test/testunit/test4test_hideskip.rb
index 7dba6f5..b870c76 100644
--- a/test/testunit/test4test_hideskip.rb
+++ b/test/testunit/test4test_hideskip.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
diff --git a/test/testunit/test4test_redefinition.rb b/test/testunit/test4test_redefinition.rb
index 77cfd45..894bc3d 100644
--- a/test/testunit/test4test_redefinition.rb
+++ b/test/testunit/test4test_redefinition.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
diff --git a/test/testunit/test4test_sorting.rb b/test/testunit/test4test_sorting.rb
index b8bb943..4848a78 100644
--- a/test/testunit/test4test_sorting.rb
+++ b/test/testunit/test4test_sorting.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../lib"
require 'test/unit'
diff --git a/test/testunit/test_assertion.rb b/test/testunit/test_assertion.rb
index 374d6e0..4cd7bd7 100644
--- a/test/testunit/test_assertion.rb
+++ b/test/testunit/test_assertion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestAssertion < Test::Unit::TestCase
def test_wrong_assertion
diff --git a/test/testunit/test_hideskip.rb b/test/testunit/test_hideskip.rb
index e696b5e..a8d7b55 100644
--- a/test/testunit/test_hideskip.rb
+++ b/test/testunit/test_hideskip.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestHideSkip < Test::Unit::TestCase
diff --git a/test/testunit/test_parallel.rb b/test/testunit/test_parallel.rb
index f068b34..3d85f9c 100644
--- a/test/testunit/test_parallel.rb
+++ b/test/testunit/test_parallel.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'timeout'
diff --git a/test/testunit/test_redefinition.rb b/test/testunit/test_redefinition.rb
index ed11621..9129e55 100644
--- a/test/testunit/test_redefinition.rb
+++ b/test/testunit/test_redefinition.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestRedefinition < Test::Unit::TestCase
diff --git a/test/testunit/test_sorting.rb b/test/testunit/test_sorting.rb
index e13ca1f..f9de3ec 100644
--- a/test/testunit/test_sorting.rb
+++ b/test/testunit/test_sorting.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestTestUnitSorting < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_first.rb b/test/testunit/tests_for_parallel/ptest_first.rb
index 66c7704..f868733 100644
--- a/test/testunit/tests_for_parallel/ptest_first.rb
+++ b/test/testunit/tests_for_parallel/ptest_first.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestA < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_forth.rb b/test/testunit/tests_for_parallel/ptest_forth.rb
index 46c88da..8831676 100644
--- a/test/testunit/tests_for_parallel/ptest_forth.rb
+++ b/test/testunit/tests_for_parallel/ptest_forth.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestE < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_second.rb b/test/testunit/tests_for_parallel/ptest_second.rb
index 7004d68..a793c17 100644
--- a/test/testunit/tests_for_parallel/ptest_second.rb
+++ b/test/testunit/tests_for_parallel/ptest_second.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestB < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/ptest_third.rb b/test/testunit/tests_for_parallel/ptest_third.rb
index 338fc32..3f448ec 100644
--- a/test/testunit/tests_for_parallel/ptest_third.rb
+++ b/test/testunit/tests_for_parallel/ptest_third.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
class TestD < Test::Unit::TestCase
diff --git a/test/testunit/tests_for_parallel/runner.rb b/test/testunit/tests_for_parallel/runner.rb
index e262e1e..bece739 100644
--- a/test/testunit/tests_for_parallel/runner.rb
+++ b/test/testunit/tests_for_parallel/runner.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'rbconfig'
$LOAD_PATH.unshift "#{File.dirname(__FILE__)}/../../lib"