[rubygems/rubygems] Relax readline prompt test
https://github.com/rubygems/rubygems/commit/1f6e028201
This commit is contained in:
parent
6b379b9b98
commit
69dc6416be
@ -215,7 +215,7 @@ RSpec.describe "bundle info" do
|
|||||||
G
|
G
|
||||||
|
|
||||||
bundle "info rac"
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ RSpec.describe "bundle show", bundler: "< 3" do
|
|||||||
G
|
G
|
||||||
|
|
||||||
bundle "show rac"
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user