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

Function TestNotSubsetNil

internal/testify/assert/assertions_test.go:1138–1144  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1136}
1137
1138func TestNotSubsetNil(t *testing.T) {
1139 mockT := new(testing.T)
1140 NotSubset(mockT, []string{"foo"}, nil)
1141 if !mockT.Failed() {
1142 t.Error("NotSubset on nil set should have failed the test")
1143 }
1144}
1145
1146func Test_containsElement(t *testing.T) {
1147

Callers

nothing calls this directly

Calls 3

FailedMethod · 0.80
NotSubsetFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…