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{})
| 1196 | // Pointer variable equality is determined based on the equality of the |
| 1197 | // referenced values (as opposed to the memory addresses). |
| 1198 | func (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. |