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

Function EqualValuesf

internal/testify/assert/assertion_format.go:111–116  ·  view source on GitHub ↗

EqualValuesf asserts that two objects are equal or convertible to the same types and equal. assert.EqualValuesf(t, uint32(123), int32(123), "error message %s", "formatted")

(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

109//
110// assert.EqualValuesf(t, uint32(123), int32(123), "error message %s", "formatted")
111func EqualValuesf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
112 if h, ok := t.(tHelper); ok {
113 h.Helper()
114 }
115 return EqualValues(t, expected, actual, append([]interface{}{msg}, args...)...)
116}
117
118// Errorf asserts that a function returned an error (i.e. not `nil`).
119//

Callers 2

EqualValuesfFunction · 0.92
EqualValuesfMethod · 0.70

Calls 2

EqualValuesFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…