NotRegexpf asserts that a specified regexp does not match a string. a.NotRegexpf(regexp.MustCompile("starts"), "it's starting", "error message %s", "formatted") a.NotRegexpf("^start", "it's not starting", "error message %s", "formatted")
(rx interface{}, str interface{}, msg string, args ...interface{})
| 1294 | // a.NotRegexpf(regexp.MustCompile("starts"), "it's starting", "error message %s", "formatted") |
| 1295 | // a.NotRegexpf("^start", "it's not starting", "error message %s", "formatted") |
| 1296 | func (a *Assertions) NotRegexpf(rx interface{}, str interface{}, msg string, args ...interface{}) bool { |
| 1297 | if h, ok := a.t.(tHelper); ok { |
| 1298 | h.Helper() |
| 1299 | } |
| 1300 | return NotRegexpf(a.t, rx, str, msg, args...) |
| 1301 | } |
| 1302 | |
| 1303 | // NotSame asserts that two pointers do not reference the same object. |
| 1304 | // |
nothing calls this directly
no test coverage detected