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

Function NotSubsetf

internal/testify/require/require.go:1707–1715  ·  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

1705// assert.NotSubsetf(t, [1, 3, 4], [1, 2], "error message %s", "formatted")
1706// assert.NotSubsetf(t, {"x": 1, "y": 2}, {"z": 3}, "error message %s", "formatted")
1707func NotSubsetf(t TestingT, list interface{}, subset interface{}, msg string, args ...interface{}) {
1708 if h, ok := t.(tHelper); ok {
1709 h.Helper()
1710 }
1711 if assert.NotSubsetf(t, list, subset, msg, args...) {
1712 return
1713 }
1714 t.FailNow()
1715}
1716
1717// NotZero asserts that i is not the zero value for its type.
1718func NotZero(t TestingT, i interface{}, msgAndArgs ...interface{}) {

Callers 1

NotSubsetfMethod · 0.70

Calls 3

NotSubsetfFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…