Positivef asserts that the specified element is positive a.Positivef(1, "error message %s", "formatted") a.Positivef(1.23, "error message %s", "formatted")
(e interface{}, msg string, args ...interface{})
| 1544 | // a.Positivef(1, "error message %s", "formatted") |
| 1545 | // a.Positivef(1.23, "error message %s", "formatted") |
| 1546 | func (a *Assertions) Positivef(e interface{}, msg string, args ...interface{}) bool { |
| 1547 | if h, ok := a.t.(tHelper); ok { |
| 1548 | h.Helper() |
| 1549 | } |
| 1550 | return Positivef(a.t, e, msg, args...) |
| 1551 | } |
| 1552 | |
| 1553 | // Regexp asserts that a specified regexp matches a string. |
| 1554 | // |