mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix failures with EditLine
On macOS with EditLine: ``` $ ruby -r readline -e 'Readline.readline("> "); p Readline::VERSION' < /dev/null "EditLine wrapper" ``` On Linux with GNU readline: ``` $ ruby -r readline -e 'Readline.readline("> "); p Readline::VERSION' < /dev/null > "8.0" ```
This commit is contained in:
parent
ea47a9506a
commit
f600226fb4
2 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ RSpec.describe "bundle info" do
|
|||
G
|
||||
|
||||
bundle "info rac"
|
||||
expect(out).to eq "1 : rack\n2 : rack-obama\n0 : - exit -\n>"
|
||||
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>)?\z/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@ RSpec.describe "bundle show", :bundler => "< 3" do
|
|||
G
|
||||
|
||||
bundle "show rac"
|
||||
expect(out).to eq "1 : rack\n2 : rack-obama\n0 : - exit -\n>"
|
||||
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>)?\z/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue