MCPcopy Create free account
hub / github.com/stretchr/testify / TestJSONEq_HashAndArrayNotEquivalent

Function TestJSONEq_HashAndArrayNotEquivalent

assert/assertions_test.go:2348–2351  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2346}
2347
2348func TestJSONEq_HashAndArrayNotEquivalent(t *testing.T) {
2349 mockT := new(testing.T)
2350 False(t, JSONEq(mockT, `["foo", {"hello": "world", "nested": "hash"}]`, `{"foo": "bar", {"nested": "hash", "hello": "world"}}`))
2351}
2352
2353func TestJSONEq_HashesNotEquivalent(t *testing.T) {
2354 mockT := new(testing.T)

Callers

nothing calls this directly

Calls 2

FalseFunction · 0.70
JSONEqFunction · 0.70

Tested by

no test coverage detected