(t *testing.T)
| 327 | } |
| 328 | |
| 329 | func TestJSONEqWrapper_Array(t *testing.T) { |
| 330 | mockT := new(MockT) |
| 331 | mockRequire := New(mockT) |
| 332 | |
| 333 | mockRequire.JSONEq(`["foo", {"hello": "world", "nested": "hash"}]`, `["foo", {"nested": "hash", "hello": "world"}]`) |
| 334 | if mockT.Failed { |
| 335 | t.Error("Check should pass") |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | func TestJSONEqWrapper_HashAndArrayNotEquivalent(t *testing.T) { |
| 340 | mockT := new(MockT) |