Skip to content

Commit f47131e

Browse files
author
Dean Karn
committed
fix tests
1 parent af45a46 commit f47131e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/http/helpers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func TestJSON(t *testing.T) {
192192
err = JSON(w, http.StatusOK, tst)
193193
Equal(t, err, nil)
194194
Equal(t, w.Header().Get(ContentType), ApplicationJSON)
195-
Equal(t, w.Body.Bytes(), append([]byte(b), '\n'))
195+
Equal(t, w.Body.Bytes(), append([]byte(b)))
196196

197197
err = JSON(w, http.StatusOK, func() {})
198198
NotEqual(t, err, nil)

0 commit comments

Comments
 (0)