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{})
| 1372 | // Both arguments must be pointer variables. Pointer variable sameness is |
| 1373 | // determined based on the equality of both type and value. |
| 1374 | func (a *Assertions) NotSamef(expected interface{}, actual interface{}, msg string, args ...interface{}) bool { |
| 1375 | if h, ok := a.t.(tHelper); ok { |
| 1376 | h.Helper() |
| 1377 | } |
| 1378 | return NotSamef(a.t, expected, actual, msg, args...) |
| 1379 | } |
| 1380 | |
| 1381 | // NotSubset asserts that the specified list(array, slice...) or map does NOT |
| 1382 | // contain all elements given in the specified subset list(array, slice...) or |