Documentation ¶
Index ¶
- func CompareJSON(actual []byte, expected []byte, jqExpr *string)
- func MatchFixture(path string, result any, jqFilter string)
- func MatchMap(a map[string]string, jq ...string) gcustom.CustomGomegaMatcher
- func NormalizeJSON(jsonStr string) (string, error)
- func ParseJQ(v []byte, expr string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareJSON ¶
func MatchFixture ¶
func MatchMap ¶ added in v1.0.564
func MatchMap(a map[string]string, jq ...string) gcustom.CustomGomegaMatcher
func NormalizeJSON ¶
NormalizeJSON returns an indented json string. The keys are sorted lexicographically.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.