(t *testing.T)
| 85 | } |
| 86 | |
| 87 | func TestNilWrapper(t *testing.T) { |
| 88 | require := New(t) |
| 89 | require.Nil(nil) |
| 90 | |
| 91 | mockT := new(MockT) |
| 92 | mockRequire := New(mockT) |
| 93 | mockRequire.Nil(new(AssertionTesterConformingObject)) |
| 94 | if !mockT.Failed { |
| 95 | t.Error("Check should fail") |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | func TestTrueWrapper(t *testing.T) { |
| 100 | require := New(t) |