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

Function Never

util/assert/assertions.go:1591–1618  ·  view source on GitHub ↗

Never asserts that the given condition doesn't satisfy in waitFor time, periodically checking the target function each tick. assert.Never(t, func() bool { return false; }, time.Second, 10*time.Millisecond)

(t TestingT, condition func() bool, waitFor time.Duration, tick time.Duration, 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

FailFunction · 0.85
HelperMethod · 0.80
StopMethod · 0.45

Tested by

no test coverage detected