Skip to content

Commit dd2af63

Browse files
committed
Update parallel_spec.rb
1 parent bcf7028 commit dd2af63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/octocatalog-diff/tests/util/parallel_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ def two(arg, _logger = nil)
343343
expect(two_result.exception).to eq(nil)
344344
expect(two_result.output).to match(/^two def \d+$/)
345345

346-
one_time = Regexp.last_match(1).to_i if one_result.output =~ /(\d+)$/
347-
two_time = Regexp.last_match(1).to_i if two_result.output =~ /(\d+)$/
346+
one_time = Regexp.last_match(1).to_i if one_result.output =~ /(\d+{1,1000})$/
347+
two_time = Regexp.last_match(1).to_i if two_result.output =~ /(\d+{1,1000})$/
348348
expect(one_time).to be < two_time
349349
end
350350

0 commit comments

Comments
 (0)