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{})
| 1264 | // Pointer variable equality is determined based on the equality of the |
| 1265 | // referenced values (as opposed to the memory addresses). |
| 1266 | func (a *Assertions) NotEqualf(expected interface{}, actual interface{}, msg string, args ...interface{}) bool { |
| 1267 | if h, ok := a.t.(tHelper); ok { |
| 1268 | h.Helper() |
| 1269 | } |
| 1270 | return NotEqualf(a.t, expected, actual, msg, args...) |
| 1271 | } |
| 1272 | |
| 1273 | // NotErrorAs asserts that none of the errors in err's chain matches target, |
| 1274 | // but if so, sets target to that error value. |