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{})
| 1008 | // a.Lessf(float64(1), float64(2), "error message %s", "formatted") |
| 1009 | // a.Lessf("a", "b", "error message %s", "formatted") |
| 1010 | func (a *Assertions) Lessf(e1 interface{}, e2 interface{}, msg string, args ...interface{}) bool { |
| 1011 | if h, ok := a.t.(tHelper); ok { |
| 1012 | h.Helper() |
| 1013 | } |
| 1014 | return Lessf(a.t, e1, e2, msg, args...) |
| 1015 | } |
| 1016 | |
| 1017 | // Negative asserts that the specified element is negative |
| 1018 | // |