NotEmptyf asserts that the specified object is NOT [Empty]. if a.NotEmptyf(obj, "error message %s", "formatted") { assert.Equal(t, "two", obj[1]) }
(object interface{}, msg string, args ...interface{})
| 1219 | // assert.Equal(t, "two", obj[1]) |
| 1220 | // } |
| 1221 | func (a *Assertions) NotEmptyf(object interface{}, msg string, args ...interface{}) { |
| 1222 | if h, ok := a.t.(tHelper); ok { |
| 1223 | h.Helper() |
| 1224 | } |
| 1225 | NotEmptyf(a.t, object, msg, args...) |
| 1226 | } |
| 1227 | |
| 1228 | // NotEqual asserts that the specified values are NOT equal. |
| 1229 | // |