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

Function Regexp

util/assert/assertions.go:1337–1349  ·  view source on GitHub ↗

Regexp asserts that a specified regexp matches a string. assert.Regexp(t, regexp.MustCompile("start"), "it's starting") assert.Regexp(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