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

Function NotSubsetf

internal/testify/assert/assertion_format.go:676–681  ·  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. assert.NotSubsetf(t, [1, 3, 4], [1, 2], "error message %s", "formatted") assert.NotSubsetf(t, {"x": 1, "y": 2}, {"z": 3}, "error message %s"

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

Source from the content-addressed store, hash-verified

674// assert.NotSubsetf(t, [1, 3, 4], [1, 2], "error message %s", "formatted")
675// assert.NotSubsetf(t, {"x": 1, "y": 2}, {"z": 3}, "error message %s", "formatted")
676func NotSubsetf(t TestingT, list interface{}, subset interface{}, msg string, args ...interface{}) bool {
677 if h, ok := t.(tHelper); ok {
678 h.Helper()
679 }
680 return NotSubset(t, list, subset, append([]interface{}{msg}, args...)...)
681}
682
683// NotZerof asserts that i is not the zero value for its type.
684func NotZerof(t TestingT, i interface{}, msg string, args ...interface{}) bool {

Callers 2

NotSubsetfFunction · 0.92
NotSubsetfMethod · 0.70

Calls 2

NotSubsetFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…