MCPcopy Index your code
hub / github.com/expr-lang/expr / Exactlyf

Function Exactlyf

internal/testify/assert/assertion_format.go:200–205  ·  view source on GitHub ↗

Exactlyf asserts that two objects are equal in value and type. assert.Exactlyf(t, int32(123), int64(123), "error message %s", "formatted")

(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

198//
199// assert.Exactlyf(t, int32(123), int64(123), "error message %s", "formatted")
200func Exactlyf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
201 if h, ok := t.(tHelper); ok {
202 h.Helper()
203 }
204 return Exactly(t, expected, actual, append([]interface{}{msg}, args...)...)
205}
206
207// Failf reports a failure through
208func Failf(t TestingT, failureMessage string, msg string, args ...interface{}) bool {

Callers 2

ExactlyfFunction · 0.92
ExactlyfMethod · 0.70

Calls 2

ExactlyFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…