Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ffigiel committed Aug 20, 2018
1 parent ee988b5 commit b1cf3bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion render/render_test.go
Expand Up @@ -62,7 +62,6 @@ func TestRenderJSON(t *testing.T) {
err := (JSON{data}).Render(w)

assert.NoError(t, err)
assert.Equal(t, "{\"foo\":\"bar\"}", w.Body.String())
assert.Equal(t, "{\"foo\":\"bar\",\"html\":\"\\u003cb\\u003e\"}\n", w.Body.String())
assert.Equal(t, "application/json; charset=utf-8", w.Header().Get("Content-Type"))
}
Expand Down

0 comments on commit b1cf3bf

Please sign in to comment.