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

Function NotEqualf

assert/assertion_format.go:625–630  ·  view source on GitHub ↗

NotEqualf asserts that the specified values are NOT equal. assert.NotEqualf(t, obj1, obj2, "error message %s", "formatted") Pointer variable equality is determined based on the equality of the referenced values (as opposed to the memory addresses).

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

Source from the content-addressed store, hash-verified

623// Pointer variable equality is determined based on the equality of the
624// referenced values (as opposed to the memory addresses).
625func NotEqualf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool {
626 if h, ok := t.(tHelper); ok {
627 h.Helper()
628 }
629 return NotEqual(t, expected, actual, append([]interface{}{msg}, args...)...)
630}
631
632// NotEqualValuesf asserts that two objects are not equal even when converted to the same type
633//

Callers 2

NotEqualfFunction · 0.92
NotEqualfMethod · 0.70

Calls 2

NotEqualFunction · 0.70
HelperMethod · 0.65

Tested by

no test coverage detected