MCPcopy Create free account
hub / github.com/corestoreio/pkg / JSONEq

Function JSONEq

util/assert/assertions.go:1467–1482  ·  view source on GitHub ↗

JSONEq asserts that two JSON strings are equivalent. assert.JSONEq(t, `{"hello": "world", "foo": "bar"}`, `{"foo": "bar", "hello": "world"}`)

(t TestingT, expected string, actual string, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

FailFunction · 0.85
EqualFunction · 0.85
HelperMethod · 0.80
UnmarshalMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected