Skip to content

Commit

Permalink
Slight formatting tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
quii committed Jan 31, 2016
1 parent 8e66275 commit bbe8ef7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compatability.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func checkBody(downstreamBody string, expectedBody string) (errors []string) {
}

for k, v := range errMessages {
errors = append(errors, fmt.Sprintf("JSON err on field %s : %s", k, v))
errors = append(errors, fmt.Sprintf("JSON err on field '%s' : %s", k, v))
}

return
Expand Down
2 changes: 1 addition & 1 deletion examples/incompatible.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
method: GET
response:
code: 200
body: '{"proclomation": "hello, world"}' # this json is incompatible with "example.yaml"
body: '{"proclomation": "hello, world", "message": 2.0}' # this json is incompatible with "example.yaml"
headers:
content-type: text/json

Expand Down

0 comments on commit bbe8ef7

Please sign in to comment.