зеркало из https://github.com/github/ruby.git
[rubygems/rubygems] Relax readline prompt test
https://github.com/rubygems/rubygems/commit/1f6e028201
This commit is contained in:
Родитель
6b379b9b98
Коммит
69dc6416be
|
@ -215,7 +215,7 @@ RSpec.describe "bundle info" do
|
|||
G
|
||||
|
||||
bundle "info rac"
|
||||
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>.*)?\z/)
|
||||
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 match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>.*)?\z/)
|
||||
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>|\z)/)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче