(t *testing.T)
| 269 | } |
| 270 | |
| 271 | func TestEmptyWrapper(t *testing.T) { |
| 272 | t.Parallel() |
| 273 | |
| 274 | require := New(t) |
| 275 | require.Empty("") |
| 276 | |
| 277 | mockT := new(MockT) |
| 278 | mockRequire := New(mockT) |
| 279 | mockRequire.Empty("x") |
| 280 | if !mockT.Failed { |
| 281 | t.Error("Check should fail") |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | func TestNotEmptyWrapper(t *testing.T) { |
| 286 | t.Parallel() |