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

Method NotEqual

internal/testify/require/require_forward.go:1165–1170  ·  view source on GitHub ↗

NotEqual asserts that the specified values are NOT equal. a.NotEqual(obj1, obj2) Pointer variable equality is determined based on the equality of the referenced values (as opposed to the memory addresses).

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

Source from the content-addressed store, hash-verified

1163// Pointer variable equality is determined based on the equality of the
1164// referenced values (as opposed to the memory addresses).
1165func (a *Assertions) NotEqual(expected interface{}, actual interface{}, msgAndArgs ...interface{}) {
1166 if h, ok := a.t.(tHelper); ok {
1167 h.Helper()
1168 }
1169 NotEqual(a.t, expected, actual, msgAndArgs...)
1170}
1171
1172// NotEqualValues asserts that two objects are not equal even when converted to the same type
1173//

Callers 1

TestNotEqualWrapperFunction · 0.45

Calls 2

NotEqualFunction · 0.70
HelperMethod · 0.45

Tested by 1

TestNotEqualWrapperFunction · 0.36