MCPcopy Index your code
hub / github.com/google/gapid / For

Function For

core/assert/manager.go:62–64  ·  view source on GitHub ↗

For is shorthand for assert.To(t).For(msg, args...).

(t interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

60
61// For is shorthand for assert.To(t).For(msg, args...).
62func For(t interface{}, msg string, args ...interface{}) *Assertion {
63 return To(t).For(msg, args...)
64}
65
66// For starts a new assertion with the supplied title.
67func (ctx Manager) For(msg string, args ...interface{}) *Assertion {

Callers

nothing calls this directly

Calls 2

ToFunction · 0.85
ForMethod · 0.80

Tested by

no test coverage detected