(t *testing.T)
| 580 | } |
| 581 | |
| 582 | func TestJSONEqWrapper_EqualSONString(t *testing.T) { |
| 583 | assert := New(new(testing.T)) |
| 584 | if !assert.JSONEq(`{"hello": "world", "foo": "bar"}`, `{"hello": "world", "foo": "bar"}`) { |
| 585 | t.Error("JSONEq should return true") |
| 586 | } |
| 587 | |
| 588 | } |
| 589 | |
| 590 | func TestJSONEqWrapper_EquivalentButNotEqual(t *testing.T) { |
| 591 | assert := New(new(testing.T)) |