From bbe8ef7fc8c24682d045c880ea11db0e96d63c45 Mon Sep 17 00:00:00 2001 From: Chris James Date: Sun, 31 Jan 2016 10:13:41 +0000 Subject: [PATCH] Slight formatting tweak --- compatability.go | 2 +- examples/incompatible.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compatability.go b/compatability.go index d9f3fa1b..90ca9f74 100644 --- a/compatability.go +++ b/compatability.go @@ -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 diff --git a/examples/incompatible.yaml b/examples/incompatible.yaml index ce95249e..f87ca3b6 100644 --- a/examples/incompatible.yaml +++ b/examples/incompatible.yaml @@ -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