We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3fed73b + 8f28c2a commit 9e3ae70Copy full SHA for 9e3ae70
ruby/test/support/output_test_helpers.rb
@@ -17,7 +17,7 @@ def strip_heredoc(heredoc)
17
end
18
19
def freeze_timing(output)
20
- output.to_s.gsub(/\d+\.\d+s/, 'X.XXs').gsub(/ \d+\.\d+ seconds /, ' X.XXXXX seconds ')
+ output.to_s.gsub(/\d+\.\d+s/, 'X.XXs').gsub(/ \d+(\.\d+)? seconds /, ' X.XXXXX seconds ')
21
22
23
def freeze_seed(output)
0 commit comments