NotEqualf asserts that the specified values are NOT equal. assert.NotEqualf(t, 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).
(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{})
| 1511 | // Pointer variable equality is determined based on the equality of the |
| 1512 | // referenced values (as opposed to the memory addresses). |
| 1513 | func NotEqualf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) { |
| 1514 | if h, ok := t.(tHelper); ok { |
| 1515 | h.Helper() |
| 1516 | } |
| 1517 | if assert.NotEqualf(t, expected, actual, msg, args...) { |
| 1518 | return |
| 1519 | } |
| 1520 | t.FailNow() |
| 1521 | } |
| 1522 | |
| 1523 | // NotErrorIs asserts that at none of the errors in err's chain matches target. |
| 1524 | // This is a wrapper for errors.Is. |