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{})
| 588 | // Pointer variable equality is determined based on the equality of the |
| 589 | // referenced values (as opposed to the memory addresses). |
| 590 | func NotEqualf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool { |
| 591 | if h, ok := t.(tHelper); ok { |
| 592 | h.Helper() |
| 593 | } |
| 594 | return NotEqual(t, expected, actual, append([]interface{}{msg}, args...)...) |
| 595 | } |
| 596 | |
| 597 | // NotEqualValuesf asserts that two objects are not equal even when converted to the same type |
| 598 | // |