Skip to content

Commit 0813498

Browse files
committed
fix: de-duplicate re-run commands
1 parent 9e97da7 commit 0813498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pact/provider/rspec/formatter_rspec_3.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def one_failed_example_per_interaction(summary)
128128
def interaction_rerun_commands examples
129129
examples.collect do |example|
130130
interaction_rerun_command_for example
131-
end.compact
131+
end.compact.uniq
132132
end
133133

134134
def interaction_unique_key(example)

0 commit comments

Comments
 (0)