Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireJSONMatchesFixture ¶
RequireJSONMatchesFixture asserts that the JSON text in actual matches the JSON read from filename, without taking into account whitespace and ordering. Files can be specified relative to the calling test (e.g. testdata/example.json). To regenerate the expected test data automatically after making a code change, pass the `-update-fixtures` flag to `go test`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.