Method
Empty
(t *testing.T, object interface{}, msgAndArgs ...interface{})
Source from the content-addressed store, hash-verified
| 180 | } |
| 181 | |
| 182 | func (a nonfatal) Empty(t *testing.T, object interface{}, msgAndArgs ...interface{}) bool { |
| 183 | t.Helper() |
| 184 | if !isEmpty(object) { |
| 185 | return a.fail(t, "expected empty, got: %#v", object) |
| 186 | } |
| 187 | return true |
| 188 | } |
| 189 | |
| 190 | func (a fatal) Empty(t *testing.T, object interface{}, msgAndArgs ...interface{}) { |
| 191 | t.Helper() |
Callers
nothing calls this directly
Tested by
no test coverage detected