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{})
| 623 | // Pointer variable equality is determined based on the equality of the |
| 624 | // referenced values (as opposed to the memory addresses). |
| 625 | func NotEqualf(t TestingT, expected interface{}, actual interface{}, msg string, args ...interface{}) bool { |
| 626 | if h, ok := t.(tHelper); ok { |
| 627 | h.Helper() |
| 628 | } |
| 629 | return NotEqual(t, expected, actual, append([]interface{}{msg}, args...)...) |
| 630 | } |
| 631 | |
| 632 | // NotEqualValuesf asserts that two objects are not equal even when converted to the same type |
| 633 | // |