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