summaryrefslogtreecommitdiff
path: root/test/optparse
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/optparse
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/optparse')
-rw-r--r--test/optparse/test_acceptable.rb1
-rw-r--r--test/optparse/test_autoconf.rb1
-rw-r--r--test/optparse/test_bash_completion.rb1
-rw-r--r--test/optparse/test_getopts.rb1
-rw-r--r--test/optparse/test_noarg.rb1
-rw-r--r--test/optparse/test_optarg.rb1
-rw-r--r--test/optparse/test_optparse.rb1
-rw-r--r--test/optparse/test_placearg.rb1
-rw-r--r--test/optparse/test_reqarg.rb1
-rw-r--r--test/optparse/test_summary.rb1
-rw-r--r--test/optparse/test_zsh_completion.rb1
11 files changed, 11 insertions, 0 deletions
diff --git a/test/optparse/test_acceptable.rb b/test/optparse/test_acceptable.rb
index ee8479cc1e..0c7590bae3 100644
--- a/test/optparse/test_acceptable.rb
+++ b/test/optparse/test_acceptable.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::Acceptable < TestOptionParser
diff --git a/test/optparse/test_autoconf.rb b/test/optparse/test_autoconf.rb
index cb9c938609..4b3616f816 100644
--- a/test/optparse/test_autoconf.rb
+++ b/test/optparse/test_autoconf.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse/ac'
diff --git a/test/optparse/test_bash_completion.rb b/test/optparse/test_bash_completion.rb
index baeb6d9882..714fd35cff 100644
--- a/test/optparse/test_bash_completion.rb
+++ b/test/optparse/test_bash_completion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'
diff --git a/test/optparse/test_getopts.rb b/test/optparse/test_getopts.rb
index ae22f68184..3711e6f269 100644
--- a/test/optparse/test_getopts.rb
+++ b/test/optparse/test_getopts.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'
diff --git a/test/optparse/test_noarg.rb b/test/optparse/test_noarg.rb
index 3e6ed42f91..8f9be29ab8 100644
--- a/test/optparse/test_noarg.rb
+++ b/test/optparse/test_noarg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
module TestOptionParser::NoArg
diff --git a/test/optparse/test_optarg.rb b/test/optparse/test_optarg.rb
index 3114b80fc5..b7436fb74c 100644
--- a/test/optparse/test_optarg.rb
+++ b/test/optparse/test_optarg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::OptArg < TestOptionParser
diff --git a/test/optparse/test_optparse.rb b/test/optparse/test_optparse.rb
index e85a2ef586..f17f8ee895 100644
--- a/test/optparse/test_optparse.rb
+++ b/test/optparse/test_optparse.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'
diff --git a/test/optparse/test_placearg.rb b/test/optparse/test_placearg.rb
index 0bbd1a007e..90b2b97a63 100644
--- a/test/optparse/test_placearg.rb
+++ b/test/optparse/test_placearg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::PlaceArg < TestOptionParser
diff --git a/test/optparse/test_reqarg.rb b/test/optparse/test_reqarg.rb
index 397da4a593..1904f46154 100644
--- a/test/optparse/test_reqarg.rb
+++ b/test/optparse/test_reqarg.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
module TestOptionParser::ReqArg
diff --git a/test/optparse/test_summary.rb b/test/optparse/test_summary.rb
index 54fd194bbd..b743aa00c1 100644
--- a/test/optparse/test_summary.rb
+++ b/test/optparse/test_summary.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require_relative 'test_optparse'
class TestOptionParser::SummaryTest < TestOptionParser
diff --git a/test/optparse/test_zsh_completion.rb b/test/optparse/test_zsh_completion.rb
index 7e5ba71384..1bc6c7f0bb 100644
--- a/test/optparse/test_zsh_completion.rb
+++ b/test/optparse/test_zsh_completion.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: false
require 'test/unit'
require 'optparse'