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{})
| 1382 | // a.NotRegexpf(regexp.MustCompile("starts"), "it's starting", "error message %s", "formatted") |
| 1383 | // a.NotRegexpf("^start", "it's not starting", "error message %s", "formatted") |
| 1384 | func (a *Assertions) NotRegexpf(rx interface{}, str interface{}, msg string, args ...interface{}) bool { |
| 1385 | if h, ok := a.t.(tHelper); ok { |
| 1386 | h.Helper() |
| 1387 | } |
| 1388 | return NotRegexpf(a.t, rx, str, msg, args...) |
| 1389 | } |
| 1390 | |
| 1391 | // NotSame asserts that two pointers do not reference the same object. |
| 1392 | // |
nothing calls this directly
no test coverage detected