Skip to content

Commit

Permalink
fix: set args via ** for diff_formatter.call
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed May 5, 2023
1 parent 858531c commit 96a00a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact/mock_service/interactions/interaction_mismatch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def to_hash
def to_s
[
"Diff with interaction: #{candidate_interaction.description_with_provider_state_quoted}",
diff_formatter.call(diff, {colour: false})
diff_formatter.call(diff, **{colour: false})
].join("\n")
end

Expand Down

0 comments on commit 96a00a9

Please sign in to comment.