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

Function NotRegexp

util/assert/assertions.go:1355–1366  ·  view source on GitHub ↗

NotRegexp asserts that a specified regexp does not match a string. assert.NotRegexp(t, regexp.MustCompile("starts"), "it's starting") assert.NotRegexp(t, "^start", "it's not starting")

(t TestingT, rx interface{}, str 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

matchRegexpFunction · 0.85
FailFunction · 0.85
HelperMethod · 0.80

Tested by

no test coverage detected