MCPcopy
hub / github.com/expr-lang/expr / NotSubset

Method NotSubset

internal/testify/assert/assertion_forward.go:1335–1340  ·  view source on GitHub ↗

NotSubset asserts that the specified list(array, slice...) or map does NOT contain all elements given in the specified subset list(array, slice...) or map. a.NotSubset([1, 3, 4], [1, 2]) a.NotSubset({"x": 1, "y": 2}, {"z": 3})

(list interface{}, subset interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

1333// a.NotSubset([1, 3, 4], [1, 2])
1334// a.NotSubset({"x": 1, "y": 2}, {"z": 3})
1335func (a *Assertions) NotSubset(list interface{}, subset interface{}, msgAndArgs ...interface{}) bool {
1336 if h, ok := a.t.(tHelper); ok {
1337 h.Helper()
1338 }
1339 return NotSubset(a.t, list, subset, msgAndArgs...)
1340}
1341
1342// NotSubsetf asserts that the specified list(array, slice...) or map does NOT
1343// contain all elements given in the specified subset list(array, slice...) or

Callers

nothing calls this directly

Calls 2

NotSubsetFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected