Commit e215f78d authored by Mitar's avatar Mitar
Browse files

Fix test.

parent 7b6af4a2
Pipeline #462761375 passed with stages
in 2 minutes
......@@ -32,5 +32,5 @@ func TestMarshalWithoutEscapeHTML(t *testing.T) {
data, err := x.MarshalWithoutEscapeHTML(&Test{Field: "<body></body>"})
assert.NoError(t, err)
assert.Equal(t, `{"field":"<body></body>"}`+"\n", string(data))
assert.Equal(t, `{"field":"<body></body>"}`, string(data))
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment