Relax regexp for console assertion

This commit is contained in:
Hiroshi SHIBATA 2023-05-02 15:32:03 +09:00
parent 59fd67fc3d
commit 9d3ab15827
Notes: git 2023-05-09 03:57:37 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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