Skip to content

Commit

Permalink
Update parallel_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jhongturney committed May 21, 2024
1 parent bcf7028 commit dd2af63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/octocatalog-diff/tests/util/parallel_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ def two(arg, _logger = nil)
expect(two_result.exception).to eq(nil)
expect(two_result.output).to match(/^two def \d+$/)

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

Expand Down

0 comments on commit dd2af63

Please sign in to comment.