Skip to content

Commit

Permalink
Relax regexp for console assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed May 9, 2023
1 parent 59fd67f commit 9d3ab15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/bundler/commands/info_spec.rb
Expand Up @@ -215,7 +215,7 @@
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

Expand Down
2 changes: 1 addition & 1 deletion spec/bundler/commands/show_spec.rb
Expand Up @@ -173,7 +173,7 @@
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

Expand Down

0 comments on commit 9d3ab15

Please sign in to comment.