Skip to content

Commit

Permalink
Fix missing size for single process scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-rymar committed Apr 6, 2021
1 parent 8e7f68e commit 5aa32e4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/parallel_tests/gherkin/grouper_by_scenarios.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def items_to_group(items)
end

def add_to_group(group, item, size)
size ||= 1

group[:items] << item.location
group[:size] += size
end
Expand Down

0 comments on commit 5aa32e4

Please sign in to comment.