summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line/dash_e_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/command_line/dash_e_spec.rb')
-rw-r--r--spec/ruby/command_line/dash_e_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/command_line/dash_e_spec.rb b/spec/ruby/command_line/dash_e_spec.rb
index 70ecdd5dce..24ed34376d 100644
--- a/spec/ruby/command_line/dash_e_spec.rb
+++ b/spec/ruby/command_line/dash_e_spec.rb
@@ -23,9 +23,9 @@ describe "The -e command line option" do
#needs to test return => LocalJumpError
- describe "with -n and a Fixnum range" do
+ describe "with -n and an Integer 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