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