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

Method Exactly

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

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

Callers 1

TestExactlyWrapperFunction · 0.45

Calls 2

ExactlyFunction · 0.70
HelperMethod · 0.65

Tested by 1

TestExactlyWrapperFunction · 0.36