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

Method Lessf

internal/testify/require/require_forward.go:974–979  ·  view source on GitHub ↗

Lessf asserts that the first element is less than the second a.Lessf(1, 2, "error message %s", "formatted") a.Lessf(float64(1), float64(2), "error message %s", "formatted") a.Lessf("a", "b", "error message %s", "formatted")

(e1 interface{}, e2 interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

972// a.Lessf(float64(1), float64(2), "error message %s", "formatted")
973// a.Lessf("a", "b", "error message %s", "formatted")
974func (a *Assertions) Lessf(e1 interface{}, e2 interface{}, msg string, args ...interface{}) {
975 if h, ok := a.t.(tHelper); ok {
976 h.Helper()
977 }
978 Lessf(a.t, e1, e2, msg, args...)
979}
980
981// Negative asserts that the specified element is negative
982//

Callers

nothing calls this directly

Calls 2

LessfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected