(t *testing.T)
| 233 | } |
| 234 | |
| 235 | func TestNotEmptyWrapper(t *testing.T) { |
| 236 | require := New(t) |
| 237 | require.NotEmpty("x") |
| 238 | |
| 239 | mockT := new(MockT) |
| 240 | mockRequire := New(mockT) |
| 241 | mockRequire.NotEmpty("") |
| 242 | if !mockT.Failed { |
| 243 | t.Error("Check should fail") |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | func TestWithinDurationWrapper(t *testing.T) { |
| 248 | require := New(t) |