NotSubsetf asserts that the list (array, slice, or map) does NOT contain all elements given in the subset (array, slice, or map). Map elements are key-value pairs unless compared with an array or slice where only the map key is evaluated. a.NotSubsetf([1, 3, 4], [1, 2], "error message %s", "format
(list interface{}, subset interface{}, msg string, args ...interface{})
| 1440 | // a.NotSubsetf([1, 3, 4], {1: "one", 2: "two"}, "error message %s", "formatted") |
| 1441 | // a.NotSubsetf({"x": 1, "y": 2}, ["z"], "error message %s", "formatted") |
| 1442 | func (a *Assertions) NotSubsetf(list interface{}, subset interface{}, msg string, args ...interface{}) bool { |
| 1443 | if h, ok := a.t.(tHelper); ok { |
| 1444 | h.Helper() |
| 1445 | } |
| 1446 | return NotSubsetf(a.t, list, subset, msg, args...) |
| 1447 | } |
| 1448 | |
| 1449 | // NotZero asserts that i is not the zero value for its type. |
| 1450 | func (a *Assertions) NotZero(i interface{}, msgAndArgs ...interface{}) bool { |
nothing calls this directly
no test coverage detected