MCPcopy Index your code
hub / github.com/expr-lang/expr / Positivef

Method Positivef

internal/testify/require/require_forward.go:1454–1459  ·  view source on GitHub ↗

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{})

Source from the content-addressed store, hash-verified

1452// a.Positivef(1, "error message %s", "formatted")
1453// a.Positivef(1.23, "error message %s", "formatted")
1454func (a *Assertions) Positivef(e interface{}, msg string, args ...interface{}) {
1455 if h, ok := a.t.(tHelper); ok {
1456 h.Helper()
1457 }
1458 Positivef(a.t, e, msg, args...)
1459}
1460
1461// Regexp asserts that a specified regexp matches a string.
1462//

Callers

nothing calls this directly

Calls 2

PositivefFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected