(t *testing.T)
| 284 | } |
| 285 | |
| 286 | func TestNotZeroWrapper(t *testing.T) { |
| 287 | require := New(t) |
| 288 | require.NotZero(1) |
| 289 | |
| 290 | mockT := new(MockT) |
| 291 | mockRequire := New(mockT) |
| 292 | mockRequire.NotZero(0) |
| 293 | if !mockT.Failed { |
| 294 | t.Error("Check should fail") |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | func TestJSONEqWrapper_EqualSONString(t *testing.T) { |
| 299 | mockT := new(MockT) |