MCPcopy Create free account
hub / github.com/expr-lang/expr / NotEqualf

Method NotEqualf

internal/testify/require/require_forward.go:1198–1203  ·  view source on GitHub ↗

NotEqualf asserts that the specified values are NOT equal. a.NotEqualf(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).

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

Source from the content-addressed store, hash-verified

1196// Pointer variable equality is determined based on the equality of the
1197// referenced values (as opposed to the memory addresses).
1198func (a *Assertions) NotEqualf(expected interface{}, actual interface{}, msg string, args ...interface{}) {
1199 if h, ok := a.t.(tHelper); ok {
1200 h.Helper()
1201 }
1202 NotEqualf(a.t, expected, actual, msg, args...)
1203}
1204
1205// NotErrorIs asserts that at none of the errors in err's chain matches target.
1206// This is a wrapper for errors.Is.

Callers

nothing calls this directly

Calls 2

NotEqualfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected