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

Method NotEqual

internal/testify/assert/assertion_forward.go:1163–1168  ·  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

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

Callers 1

TestNotEqualWrapperFunction · 0.45

Calls 2

NotEqualFunction · 0.70
HelperMethod · 0.45

Tested by 1

TestNotEqualWrapperFunction · 0.36