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

Function Exactlyf

internal/testify/require/require.go:491–499  ·  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

489//
490// assert.Exactlyf(t, int32(123), int64(123), "error message %s", "formatted")
491func Exactlyf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) {
492 if h, ok := t.(tHelper); ok {
493 h.Helper()
494 }
495 if assert.Exactlyf(t, expected, actual, msg, args...) {
496 return
497 }
498 t.FailNow()
499}
500
501// Fail reports a failure through
502func Fail(t TestingT, failureMessage string, msgAndArgs ...interface{}) {

Callers 1

ExactlyfMethod · 0.70

Calls 3

ExactlyfFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…