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

Method Exactly

assert/assertion_forward.go:400–405  ·  view source on GitHub ↗

Exactly asserts that two objects are equal in value and type. a.Exactly(int32(123), int64(123))

(expected interface{}, actual interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

398//
399// a.Exactly(int32(123), int64(123))
400func (a *Assertions) Exactly(expected interface{}, actual interface{}, msgAndArgs ...interface{}) bool {
401 if h, ok := a.t.(tHelper); ok {
402 h.Helper()
403 }
404 return Exactly(a.t, expected, actual, msgAndArgs...)
405}
406
407// Exactlyf asserts that two objects are equal in value and type.
408//

Callers 1

TestExactlyWrapperFunction · 0.45

Calls 2

ExactlyFunction · 0.70
HelperMethod · 0.65

Tested by 1

TestExactlyWrapperFunction · 0.36