NotSamef asserts that two pointers do not reference the same object. a.NotSamef(ptr1, ptr2, "error message %s", "formatted") Both arguments must be pointer variables. Pointer variable sameness is determined based on the equality of both type and value.
(expected interface{}, actual interface{}, msg string, args ...interface{})
| 1320 | // Both arguments must be pointer variables. Pointer variable sameness is |
| 1321 | // determined based on the equality of both type and value. |
| 1322 | func (a *Assertions) NotSamef(expected interface{}, actual interface{}, msg string, args ...interface{}) bool { |
| 1323 | if h, ok := a.t.(tHelper); ok { |
| 1324 | h.Helper() |
| 1325 | } |
| 1326 | return NotSamef(a.t, expected, actual, msg, args...) |
| 1327 | } |
| 1328 | |
| 1329 | // NotSubset asserts that the specified list(array, slice...) or map does NOT |
| 1330 | // contain all elements given in the specified subset list(array, slice...) or |