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

Method Negative

internal/testify/require/require_forward.go:985–990  ·  view source on GitHub ↗

Negative asserts that the specified element is negative a.Negative(-1) a.Negative(-1.23)

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

Source from the content-addressed store, hash-verified

983// a.Negative(-1)
984// a.Negative(-1.23)
985func (a *Assertions) Negative(e interface{}, msgAndArgs ...interface{}) {
986 if h, ok := a.t.(tHelper); ok {
987 h.Helper()
988 }
989 Negative(a.t, e, msgAndArgs...)
990}
991
992// Negativef asserts that the specified element is negative
993//

Callers

nothing calls this directly

Calls 2

NegativeFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected