mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Refined "Drop support for ruby 2.4 from ruby/spec"
By using spec/mspec/tool/remove_old_guards.rb.
This commit is contained in:
parent
f49a24201c
commit
18f7d3c9a6
Notes:
git
2020-04-03 10:37:05 +09:00
9 changed files with 197 additions and 163 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue