зеркало из https://github.com/github/ruby.git
Relax regexp for console assertion
This commit is contained in:
Родитель
59fd67fc3d
Коммит
9d3ab15827
|
@ -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
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче