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

Function TestNotContains

internal/testify/require/requirements_test.go:152–161  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

150}
151
152func TestNotContains(t *testing.T) {
153
154 NotContains(t, "Hello World", "Hello!")
155
156 mockT := new(MockT)
157 NotContains(mockT, "Hello World", "Hello")
158 if !mockT.Failed {
159 t.Error("Check should fail")
160 }
161}
162
163func TestPanics(t *testing.T) {
164

Callers

nothing calls this directly

Calls 2

NotContainsFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…