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

Function Exactly

internal/testify/require/require.go:478–486  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

476//
477// assert.Exactly(t, int32(123), int64(123))
478func Exactly(t TestingT, expected interface{}, actual interface{}, msgAndArgs ...interface{}) {
479 if h, ok := t.(tHelper); ok {
480 h.Helper()
481 }
482 if assert.Exactly(t, expected, actual, msgAndArgs...) {
483 return
484 }
485 t.FailNow()
486}
487
488// Exactlyf asserts that two objects are equal in value and type.
489//

Callers 2

ExactlyMethod · 0.70
TestExactlyFunction · 0.70

Calls 3

ExactlyFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by 1

TestExactlyFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…