(t *testing.T, object interface{})
| 49 | } |
| 50 | |
| 51 | func NotNil(t *testing.T, object interface{}) { |
| 52 | if isNil(object) { |
| 53 | formattedLog(t, "Expected value not to be <nil>", object) |
| 54 | t.FailNow() |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func isNil(object interface{}) bool { |
| 59 | if object == nil { |