MCPcopy Create free account
hub / github.com/corestoreio/pkg / Len

Function Len

util/assert/assertions.go:654–666  ·  view source on GitHub ↗

Len asserts that the specified object has specific length. Len also fails if the object has a type that len() not accept. assert.Len(t, mySlice, 3)

(t TestingT, object interface{}, length int, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

getLenFunction · 0.85
FailFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected