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

Function NotEqualf

internal/testify/require/require.go:1513–1521  ·  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

1511// Pointer variable equality is determined based on the equality of the
1512// referenced values (as opposed to the memory addresses).
1513func NotEqualf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) {
1514 if h, ok := t.(tHelper); ok {
1515 h.Helper()
1516 }
1517 if assert.NotEqualf(t, expected, actual, msg, args...) {
1518 return
1519 }
1520 t.FailNow()
1521}
1522
1523// NotErrorIs asserts that at none of the errors in err's chain matches target.
1524// This is a wrapper for errors.Is.

Callers 1

NotEqualfMethod · 0.70

Calls 3

NotEqualfFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…