(t *testing.T)
| 221 | } |
| 222 | |
| 223 | func TestEmptyWrapper(t *testing.T) { |
| 224 | require := New(t) |
| 225 | require.Empty("") |
| 226 | |
| 227 | mockT := new(MockT) |
| 228 | mockRequire := New(mockT) |
| 229 | mockRequire.Empty("x") |
| 230 | if !mockT.Failed { |
| 231 | t.Error("Check should fail") |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | func TestNotEmptyWrapper(t *testing.T) { |
| 236 | require := New(t) |