(t *testing.T)
| 81 | } |
| 82 | |
| 83 | func TestNilWrapper(t *testing.T) { |
| 84 | t.Parallel() |
| 85 | |
| 86 | assert := New(new(testing.T)) |
| 87 | |
| 88 | if !assert.Nil(nil) { |
| 89 | t.Error("Nil should return true: object is nil") |
| 90 | } |
| 91 | if assert.Nil(new(AssertionTesterConformingObject)) { |
| 92 | t.Error("Nil should return false: object is not nil") |
| 93 | } |
| 94 | |
| 95 | } |
| 96 | |
| 97 | func TestTrueWrapper(t *testing.T) { |
| 98 | t.Parallel() |