Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

add encoding.Indent to tests #56

Closed
kamilsk opened this issue Jan 2, 2018 · 2 comments
Closed

add encoding.Indent to tests #56

kamilsk opened this issue Jan 2, 2018 · 2 comments
Assignees
Milestone

Comments

@kamilsk
Copy link
Member

kamilsk commented Jan 2, 2018

For better viewing

Here, for example: https://github.com/kamilsk/form-api/blob/master/data/form/serialization_test.go#L194

json.MarshalIndent(..., "", " ")

@kamilsk kamilsk added this to the form-api 1.0 milestone Jan 2, 2018
@kamilsk kamilsk self-assigned this Jan 2, 2018
@kamilsk
Copy link
Member Author

kamilsk commented Jan 2, 2018

Also, support it by MarshalHTML

@kamilsk
Copy link
Member Author

kamilsk commented Jan 2, 2018

And add usage of Compact()

@kamilsk kamilsk changed the title add encodeing.Indent to tests add encoding.Indent to tests Jan 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant