From 4662b75426fa4d476d83a7051c21345629877c2d Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Wed, 6 Nov 2024 12:29:05 +1300 Subject: [PATCH] Relax test pattern. --- test/progress.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/progress.rb b/test/progress.rb index 777e7d6..42410a5 100644 --- a/test/progress.rb +++ b/test/progress.rb @@ -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,