MCPcopy Create free account
hub / github.com/expr-lang/expr / Positive

Method Positive

internal/testify/require/require_forward.go:1443–1448  ·  view source on GitHub ↗

Positive asserts that the specified element is positive a.Positive(1) a.Positive(1.23)

(e interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

1441// a.Positive(1)
1442// a.Positive(1.23)
1443func (a *Assertions) Positive(e interface{}, msgAndArgs ...interface{}) {
1444 if h, ok := a.t.(tHelper); ok {
1445 h.Helper()
1446 }
1447 Positive(a.t, e, msgAndArgs...)
1448}
1449
1450// Positivef asserts that the specified element is positive
1451//

Callers

nothing calls this directly

Calls 2

PositiveFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected