(t *testing.T, object interface{}, msgAndArgs ...interface{})
| 96 | } |
| 97 | |
| 98 | func (a fatal) NotNil(t *testing.T, object interface{}, msgAndArgs ...interface{}) { |
| 99 | t.Helper() |
| 100 | if isNil(object) { |
| 101 | a.fail(t, "expected not nil") |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | func (a nonfatal) True(t *testing.T, value bool, msgAndArgs ...interface{}) bool { |
| 106 | t.Helper() |
no test coverage detected