Skip to content

Commit

Permalink
fix(can-i-deploy): correct provider name in text output
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Oct 27, 2017
1 parent fff32c2 commit bfd0882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pact_broker/client/matrix/text_formatter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def self.call(matrix_lines)
Line.new(
lookup(line, :consumer, :name),
lookup(line, :consumer, :version, :number),
lookup(line, :consumer, :name),
lookup(line, :provider, :name),
lookup(line, :provider, :version, :number),
lookup(line, :verificationResult, :success).to_s
)
Expand Down
2 changes: 1 addition & 1 deletion spec/support/matrix.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CONSUMER | CONSUMER_VERSION | PROVIDER | PROVIDER_VERSION | SUCCESS
---------|------------------|----------|------------------|--------
Foo | 4 | Foo | 5 | true
Foo | 4 | Bar | 5 | true

0 comments on commit bfd0882

Please sign in to comment.