Skip to content

Commit

Permalink
fix: tidy up header mismatch formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed Jun 21, 2021
1 parent 26b32fd commit 758ded2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions consumer/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ func (p *httpMockProvider) displayMismatches(t *testing.T, mismatches []native.M
for _, detail := range m.Mismatches {
switch detail.Type {
case "HeaderMismatch":
fmt.Printf("\t\t\tComparing Header: '%s'\n", detail.Key)
fmt.Println("\t\t\t", detail.Mismatch)
fmt.Printf("\t\t\t%s\n:", detail.Mismatch)
fmt.Println("\t\t\texpected: \t", detail.Expected)
fmt.Println("\t\t\tactual: \t", detail.Actual)
case "BodyMismatch":
Expand Down

0 comments on commit 758ded2

Please sign in to comment.