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

Method Exactlyf

internal/testify/assert/assertion_forward.go:396–401  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

394//
395// a.Exactlyf(int32(123), int64(123), "error message %s", "formatted")
396func (a *Assertions) Exactlyf(expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
397 if h, ok := a.t.(tHelper); ok {
398 h.Helper()
399 }
400 return Exactlyf(a.t, expected, actual, msg, args...)
401}
402
403// Fail reports a failure through
404func (a *Assertions) Fail(failureMessage string, msgAndArgs ...interface{}) bool {

Callers

nothing calls this directly

Calls 2

ExactlyfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected