(t *testing.T)
| 67 | } |
| 68 | |
| 69 | func TestNotNilWrapper(t *testing.T) { |
| 70 | t.Parallel() |
| 71 | |
| 72 | assert := New(new(testing.T)) |
| 73 | |
| 74 | if !assert.NotNil(new(AssertionTesterConformingObject)) { |
| 75 | t.Error("NotNil should return true: object is not nil") |
| 76 | } |
| 77 | if assert.NotNil(nil) { |
| 78 | t.Error("NotNil should return false: object is nil") |
| 79 | } |
| 80 | |
| 81 | } |
| 82 | |
| 83 | func TestNilWrapper(t *testing.T) { |
| 84 | t.Parallel() |