MCPcopy
hub / github.com/expr-lang/expr / Exactly

Method Exactly

internal/testify/assert/assertion_forward.go:386–391  ·  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

384//
385// a.Exactly(int32(123), int64(123))
386func (a *Assertions) Exactly(expected interface{}, actual interface{}, msgAndArgs ...interface{}) bool {
387 if h, ok := a.t.(tHelper); ok {
388 h.Helper()
389 }
390 return Exactly(a.t, expected, actual, msgAndArgs...)
391}
392
393// Exactlyf asserts that two objects are equal in value and type.
394//

Callers 1

TestExactlyWrapperFunction · 0.45

Calls 2

ExactlyFunction · 0.70
HelperMethod · 0.45

Tested by 1

TestExactlyWrapperFunction · 0.36