MCPcopy
hub / github.com/stretchr/testify / Exactlyf

Method Exactlyf

require/require_forward.go:411–416  ·  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

409//
410// a.Exactlyf(int32(123), int64(123), "error message %s", "formatted")
411func (a *Assertions) Exactlyf(expected interface{}, actual interface{}, msg string, args ...interface{}) {
412 if h, ok := a.t.(tHelper); ok {
413 h.Helper()
414 }
415 Exactlyf(a.t, expected, actual, msg, args...)
416}
417
418// Fail reports a failure through
419func (a *Assertions) Fail(failureMessage string, msgAndArgs ...interface{}) {

Callers

nothing calls this directly

Calls 2

ExactlyfFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected