summaryrefslogtreecommitdiff
path: root/test/lib/minitest
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/lib/minitest
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/lib/minitest')
-rw-r--r--test/lib/minitest/autorun.rb1
-rw-r--r--test/lib/minitest/benchmark.rb1
-rw-r--r--test/lib/minitest/mock.rb1
-rw-r--r--test/lib/minitest/unit.rb1
4 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/minitest/autorun.rb b/test/lib/minitest/autorun.rb
index 88b1e0550d..40640b2580 100644
--- a/test/lib/minitest/autorun.rb
+++ b/test/lib/minitest/autorun.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
begin
require 'rubygems'
diff --git a/test/lib/minitest/benchmark.rb b/test/lib/minitest/benchmark.rb
index 5195fc01bc..21f0b29d50 100644
--- a/test/lib/minitest/benchmark.rb
+++ b/test/lib/minitest/benchmark.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require 'minitest/unit'
diff --git a/test/lib/minitest/mock.rb b/test/lib/minitest/mock.rb
index 19acaff68e..07e88113ea 100644
--- a/test/lib/minitest/mock.rb
+++ b/test/lib/minitest/mock.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
class MockExpectationError < StandardError; end # :nodoc:
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb
index e67ca02cd8..62f89e97e5 100644
--- a/test/lib/minitest/unit.rb
+++ b/test/lib/minitest/unit.rb
@@ -1,4 +1,5 @@
# encoding: utf-8
+# frozen_string_literal: false
require "optparse"
require "rbconfig"