Skip to content

Commit 8c0420a

Browse files
hsbtdeivid-rodriguez
authored andcommitted
Relax regexp for console assertion
1 parent 6aa8d8c commit 8c0420a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bundler/spec/commands/info_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
G
216216

217217
bundle "info rac"
218-
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>)?\z/)
218+
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>.*)?\z/)
219219
end
220220
end
221221

bundler/spec/commands/show_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
G
174174

175175
bundle "show rac"
176-
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>)?\z/)
176+
expect(out).to match(/\A1 : rack\n2 : rack-obama\n0 : - exit -(\n>.*)?\z/)
177177
end
178178
end
179179

0 commit comments

Comments
 (0)