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 ee8479c..0c7590b 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 cb9c938..4b3616f 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 baeb6d9..714fd35 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 ae22f68..3711e6f 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 3e6ed42..8f9be29 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 3114b80..b7436fb 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 e85a2ef..f17f8ee 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 0bbd1a0..90b2b97 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 397da4a..1904f46 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 54fd194..b743aa0 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 7e5ba71..1bc6c7f 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'