summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-29 11:09:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-29 11:10:45 +0900
commitd92289cd8d5cac784ae856fb777f10dbc9f91b62 (patch)
tree7d2bd38521859d94a7c9bca3ec63104225e551c9 /spec/ruby/command_line
parentcd0e208963bdf9ee2fec30e83bdc8f6bc77a7b8d (diff)
Revert "Remove warnings of flip-flop deprecation from tests and specs"
This reverts commit bf7a32d22079cc44eb19794e41d82b886d5d17b3. flip-flop is no longer deprecated. [Feature #5400]
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 70ecdd5dcee..9f600eb414a 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 = "-W0 -ne 'print if %s' #{fixture(__FILE__, "conditional_range.txt")}"
+ @script = "-ne 'print if %s' #{fixture(__FILE__, "conditional_range.txt")}"
end
it "mimics an awk conditional by comparing an inclusive-end range with $." do