MCPcopy Index your code
hub / github.com/expr-lang/expr / NotSubsetf

Method NotSubsetf

internal/testify/assert/assertion_forward.go:1348–1353  ·  view source on GitHub ↗

NotSubsetf 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.NotSubsetf([1, 3, 4], [1, 2], "error message %s", "formatted") a.NotSubsetf({"x": 1, "y": 2}, {"z": 3}, "error message %s", "formatted")

(list interface{}, subset interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

1346// a.NotSubsetf([1, 3, 4], [1, 2], "error message %s", "formatted")
1347// a.NotSubsetf({"x": 1, "y": 2}, {"z": 3}, "error message %s", "formatted")
1348func (a *Assertions) NotSubsetf(list interface{}, subset interface{}, msg string, args ...interface{}) bool {
1349 if h, ok := a.t.(tHelper); ok {
1350 h.Helper()
1351 }
1352 return NotSubsetf(a.t, list, subset, msg, args...)
1353}
1354
1355// NotZero asserts that i is not the zero value for its type.
1356func (a *Assertions) NotZero(i interface{}, msgAndArgs ...interface{}) bool {

Callers

nothing calls this directly

Calls 2

NotSubsetfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected