From 3e92b635fb5422207b7bbdc924e292e51e21f040 Mon Sep 17 00:00:00 2001 From: naruse Date: Wed, 16 Dec 2015 05:07:31 +0000 Subject: 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 --- test/optparse/test_acceptable.rb | 1 + test/optparse/test_autoconf.rb | 1 + test/optparse/test_bash_completion.rb | 1 + test/optparse/test_getopts.rb | 1 + test/optparse/test_noarg.rb | 1 + test/optparse/test_optarg.rb | 1 + test/optparse/test_optparse.rb | 1 + test/optparse/test_placearg.rb | 1 + test/optparse/test_reqarg.rb | 1 + test/optparse/test_summary.rb | 1 + test/optparse/test_zsh_completion.rb | 1 + 11 files changed, 11 insertions(+) (limited to 'test/optparse') 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' -- cgit v1.2.3