summaryrefslogtreecommitdiff
path: root/spec/ruby/command_line
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-03 09:44:40 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-03 09:44:40 +0900
commit18f7d3c9a647f31f11e182d900b88edf5e34ea4b (patch)
tree8eb67d6720e79022a9102ffb5c4e17155f324995 /spec/ruby/command_line
parentf49a24201c8bbcf9fcb4349174e468a673d14b98 (diff)
Refined "Drop support for ruby 2.4 from ruby/spec"
By using spec/mspec/tool/remove_old_guards.rb.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2997
Diffstat (limited to 'spec/ruby/command_line')
-rw-r--r--spec/ruby/command_line/dash_l_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/command_line/dash_l_spec.rb b/spec/ruby/command_line/dash_l_spec.rb
index 65d6592f227..5c1d3cf4cd9 100644
--- a/spec/ruby/command_line/dash_l_spec.rb
+++ b/spec/ruby/command_line/dash_l_spec.rb
@@ -14,7 +14,7 @@ describe "The -l command line option" do
it "chomps last line based on $/" do
ruby_exe('BEGIN { $/ = "ones\n" }; puts $_', options: "-W0 -n -l", escape: true,
args: " < #{@names}").should ==
- "alice j\nbob field\njames grey\n"
+ "alice j\nbob field\njames grey\n"
end
it "sets $\\ to the value of $/" do