MCPcopy Create free account
hub / github.com/corestoreio/pkg / NotContains

Function NotContains

util/assert/assertions.go:801–813  ·  view source on GitHub ↗

NotContains asserts that the specified string, list(array, slice...) or map does NOT contain the specified substring or element. assert.NotContains(t, "Hello World", "Earth") assert.NotContains(t, ["Hello", "World"], "Earth") assert.NotContains(t, {"Hello": "World"}, "Earth")

(t TestingT, s, contains interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

includeElementFunction · 0.85
FailFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected