diff --git a/context_test.go b/context_test.go index f57fa6fd..758fecdc 100644 --- a/context_test.go +++ b/context_test.go @@ -582,7 +582,7 @@ func TestContextRenderIndentedJSON(t *testing.T) { c.IndentedJSON(201, H{"foo": "bar", "bar": "foo", "nested": H{"foo": "bar"}}) assert.Equal(t, w.Code, 201) - assert.Equal(t, "{\n \"bar\":\"foo\",\n \"foo\":\"bar\",\n \"nested\":{\n \"foo\":\"bar\"\n }\n}", w.Body.String()) + assert.Equal(t, "{\n \"bar\": \"foo\",\n \"foo\": \"bar\",\n \"nested\": {\n \"foo\": \"bar\"\n }\n}", w.Body.String()) assert.Equal(t, "application/json; charset=utf-8", w.HeaderMap.Get("Content-Type")) } diff --git a/vendor/vendor.json b/vendor/vendor.json index cb752e91..3af3cb55 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -34,10 +34,10 @@ "revisionTime": "2017-06-01T23:02:30Z" }, { - "checksumSHA1": "YY//OXgGrJOsiR8Cz1xexk/zwkc=", + "checksumSHA1": "bgb/lk2wroBJ5z+JI2xnVj7WkwI=", "path": "github.com/json-iterator/go", - "revision": "37ba1b32b5ed52dfaff0fe50d923d210c11c8daf", - "revisionTime": "2017-07-08T17:01:13Z" + "revision": "845d8438db34cc782608bbee7647a522b4e87de0", + "revisionTime": "2017-07-10T17:07:18Z" }, { "checksumSHA1": "9if9IBLsxkarJ804NPWAzgskIAk=",