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

Method NotSubset

internal/testify/require/require_forward.go:1337–1342  ·  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

1335// a.NotSubset([1, 3, 4], [1, 2])
1336// a.NotSubset({"x": 1, "y": 2}, {"z": 3})
1337func (a *Assertions) NotSubset(list interface{}, subset interface{}, msgAndArgs ...interface{}) {
1338 if h, ok := a.t.(tHelper); ok {
1339 h.Helper()
1340 }
1341 NotSubset(a.t, list, subset, msgAndArgs...)
1342}
1343
1344// NotSubsetf asserts that the specified list(array, slice...) or map does NOT
1345// 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