aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/command_line
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-15 08:53:16 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-15 08:53:16 +0000
commitbf7a32d22079cc44eb19794e41d82b886d5d17b3 (patch)
tree1d560bdb900b7f0ea89d6beb19c10845ed730876 /spec/ruby/command_line
parentbae638ad5b782c44c80efe33834cb9039279af46 (diff)
downloadruby-bf7a32d22079cc44eb19794e41d82b886d5d17b3.tar.gz
Remove warnings of flip-flop deprecation from tests and specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/command_line')
-rw-r--r--spec/ruby/command_line/dash_e_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/command_line/dash_e_spec.rb b/spec/ruby/command_line/dash_e_spec.rb
index 9f600eb414..70ecdd5dce 100644
--- a/spec/ruby/command_line/dash_e_spec.rb
+++ b/spec/ruby/command_line/dash_e_spec.rb
@@ -25,7 +25,7 @@ describe "The -e command line option" do
describe "with -n and a Fixnum range" do
before :each do
- @script = "-ne 'print if %s' #{fixture(__FILE__, "conditional_range.txt")}"
+ @script = "-W0 -ne 'print if %s' #{fixture(__FILE__, "conditional_range.txt")}"
end
it "mimics an awk conditional by comparing an inclusive-end range with $." do