Skip to content

Commit

Permalink
Relax test pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Nov 5, 2024
1 parent 00952f5 commit 4662b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/progress.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
expect(console_capture.last).to have_keys(
severity: be == :info,
subject: be == "My Measurement",
arguments: be == ["100/100 completed in 0.0s, 0.0s remaining."],
arguments: have_attributes(first: be =~ /100\/100 completed in .*?, 0.0s remaining\./),
event: have_keys(
type: be == :progress,
current: be == 100,
Expand Down

0 comments on commit 4662b75

Please sign in to comment.