lib/parallel_tests/gherkin/runner.rb in parallel_tests-3.7.3 vs lib/parallel_tests/gherkin/runner.rb in parallel_tests-3.8.0

- old
+ new

@@ -60,10 +60,10 @@ sums = sums.sort_by { |word, _| sort_order.index(word) || 999 } sums.map! do |word, number| plural = "s" if (word == group) && (number != 1) "#{number} #{word}#{plural}" end - "#{sums[0]} (#{sums[1..-1].join(", ")})" + "#{sums[0]} (#{sums[1..].join(", ")})" end.compact.join("\n") end def cucumber_opts(given) if given =~ (/--profile/) || given =~ (/(^|\s)-p /)