(t *testing.T)
| 97 | } |
| 98 | |
| 99 | func TestNotNilWrapper(t *testing.T) { |
| 100 | t.Parallel() |
| 101 | |
| 102 | require := New(t) |
| 103 | require.NotNil(t, new(AssertionTesterConformingObject)) |
| 104 | |
| 105 | mockT := new(MockT) |
| 106 | mockRequire := New(mockT) |
| 107 | mockRequire.NotNil(nil) |
| 108 | if !mockT.Failed { |
| 109 | t.Error("Check should fail") |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | func TestNilWrapper(t *testing.T) { |
| 114 | t.Parallel() |