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{})
| 648 | // assert.NotRegexpf(t, regexp.MustCompile("starts"), "it's starting", "error message %s", "formatted") |
| 649 | // assert.NotRegexpf(t, "^start", "it's not starting", "error message %s", "formatted") |
| 650 | func NotRegexpf(t TestingT, rx interface{}, str interface{}, msg string, args ...interface{}) bool { |
| 651 | if h, ok := t.(tHelper); ok { |
| 652 | h.Helper() |
| 653 | } |
| 654 | return NotRegexp(t, rx, str, append([]interface{}{msg}, args...)...) |
| 655 | } |
| 656 | |
| 657 | // NotSamef asserts that two pointers do not reference the same object. |
| 658 | // |
no test coverage detected
searching dependent graphs…