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

Function TestJSONEq_Array

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

Source from the content-addressed store, hash-verified

2341}
2342
2343func TestJSONEq_Array(t *testing.T) {
2344 mockT := new(testing.T)
2345 True(t, JSONEq(mockT, `["foo", {"hello": "world", "nested": "hash"}]`, `["foo", {"nested": "hash", "hello": "world"}]`))
2346}
2347
2348func TestJSONEq_HashAndArrayNotEquivalent(t *testing.T) {
2349 mockT := new(testing.T)

Callers

nothing calls this directly

Calls 2

TrueFunction · 0.70
JSONEqFunction · 0.70

Tested by

no test coverage detected