(t *testing.T)
| 2346 | } |
| 2347 | |
| 2348 | func 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 | |
| 2353 | func TestJSONEq_HashesNotEquivalent(t *testing.T) { |
| 2354 | mockT := new(testing.T) |