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{})
| 1450 | // a.Positivef(1, "error message %s", "formatted") |
| 1451 | // a.Positivef(1.23, "error message %s", "formatted") |
| 1452 | func (a *Assertions) Positivef(e interface{}, msg string, args ...interface{}) bool { |
| 1453 | if h, ok := a.t.(tHelper); ok { |
| 1454 | h.Helper() |
| 1455 | } |
| 1456 | return Positivef(a.t, e, msg, args...) |
| 1457 | } |
| 1458 | |
| 1459 | // Regexp asserts that a specified regexp matches a string. |
| 1460 | // |