NotEqual asserts that the specified values are NOT equal. a.NotEqual(obj1, obj2) Pointer variable equality is determined based on the equality of the referenced values (as opposed to the memory addresses).
(expected interface{}, actual interface{}, msgAndArgs ...interface{})
| 1231 | // Pointer variable equality is determined based on the equality of the |
| 1232 | // referenced values (as opposed to the memory addresses). |
| 1233 | func (a *Assertions) NotEqual(expected interface{}, actual interface{}, msgAndArgs ...interface{}) bool { |
| 1234 | if h, ok := a.t.(tHelper); ok { |
| 1235 | h.Helper() |
| 1236 | } |
| 1237 | return NotEqual(a.t, expected, actual, msgAndArgs...) |
| 1238 | } |
| 1239 | |
| 1240 | // NotEqualValues asserts that two objects are not equal even when converted to the same type |
| 1241 | // |