NotSubset 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.NotSubset([1, 3, 4], [1, 2]) a.NotSubset({"x": 1, "y": 2}
(list interface{}, subset interface{}, msgAndArgs ...interface{})
| 1424 | // a.NotSubset([1, 3, 4], {1: "one", 2: "two"}) |
| 1425 | // a.NotSubset({"x": 1, "y": 2}, ["z"]) |
| 1426 | func (a *Assertions) NotSubset(list interface{}, subset interface{}, msgAndArgs ...interface{}) bool { |
| 1427 | if h, ok := a.t.(tHelper); ok { |
| 1428 | h.Helper() |
| 1429 | } |
| 1430 | return NotSubset(a.t, list, subset, msgAndArgs...) |
| 1431 | } |
| 1432 | |
| 1433 | // NotSubsetf asserts that the list (array, slice, or map) does NOT contain all |
| 1434 | // elements given in the subset (array, slice, or map). |