(t *testing.T)
| 283 | } |
| 284 | |
| 285 | func TestNotEmptyWrapper(t *testing.T) { |
| 286 | t.Parallel() |
| 287 | |
| 288 | require := New(t) |
| 289 | require.NotEmpty("x") |
| 290 | |
| 291 | mockT := new(MockT) |
| 292 | mockRequire := New(mockT) |
| 293 | mockRequire.NotEmpty("") |
| 294 | if !mockT.Failed { |
| 295 | t.Error("Check should fail") |
| 296 | } |
| 297 | } |
| 298 | |
| 299 | func TestWithinDurationWrapper(t *testing.T) { |
| 300 | t.Parallel() |