NotRegexpf asserts that a specified regexp does not match a string. assert.NotRegexpf(t, regexp.MustCompile("starts"), "it's starting", "error message %s", "formatted") assert.NotRegexpf(t, "^start", "it's not starting", "error message %s", "formatted")
(t TestingT, rx interface{}, str interface{}, msg string, args ...interface{})
| 692 | // assert.NotRegexpf(t, regexp.MustCompile("starts"), "it's starting", "error message %s", "formatted") |
| 693 | // assert.NotRegexpf(t, "^start", "it's not starting", "error message %s", "formatted") |
| 694 | func NotRegexpf(t TestingT, rx interface{}, str interface{}, msg string, args ...interface{}) bool { |
| 695 | if h, ok := t.(tHelper); ok { |
| 696 | h.Helper() |
| 697 | } |
| 698 | return NotRegexp(t, rx, str, append([]interface{}{msg}, args...)...) |
| 699 | } |
| 700 | |
| 701 | // NotSamef asserts that two pointers do not reference the same object. |
| 702 | // |
no test coverage detected