Skip to content

Commit

Permalink
rm unvalid code
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkerou committed Jan 2, 2023
1 parent f2649d1 commit 5687055
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion render/render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ b:

err := (YAML{data}).Render(w)
assert.NoError(t, err)
// assert.Equal(t, "\"\\na : Easy!\\nb:\\n\\tc: 2\\n\\td: [3, 4]\\n\\t\"\n", w.Body.String())
assert.Equal(t, "|4-\n a : Easy!\n b:\n \tc: 2\n \td: [3, 4]\n \t\n", w.Body.String())
assert.Equal(t, "application/x-yaml; charset=utf-8", w.Header().Get("Content-Type"))
}
Expand Down

0 comments on commit 5687055

Please sign in to comment.