(t *testing.T)
| 619 | } |
| 620 | |
| 621 | func TestJSONEqWrapper_HashesNotEquivalent(t *testing.T) { |
| 622 | assert := New(new(testing.T)) |
| 623 | if assert.JSONEq(`{"foo": "bar"}`, `{"foo": "bar", "hello": "world"}`) { |
| 624 | t.Error("JSONEq should return false") |
| 625 | } |
| 626 | } |
| 627 | |
| 628 | func TestJSONEqWrapper_ActualIsNotJSON(t *testing.T) { |
| 629 | assert := New(new(testing.T)) |