LessOrEqualf asserts that the first element is less than or equal to the second assert.LessOrEqualf(t, 1, 2, "error message %s", "formatted") assert.LessOrEqualf(t, 2, 2, "error message %s", "formatted") assert.LessOrEqualf(t, "a", "b", "error message %s", "formatted") assert.LessOrEqualf(t, "b
(t TestingT, e1 interface{}, e2 interface{}, msg string, args ...interface{})
| 486 | // assert.LessOrEqualf(t, "a", "b", "error message %s", "formatted") |
| 487 | // assert.LessOrEqualf(t, "b", "b", "error message %s", "formatted") |
| 488 | func LessOrEqualf(t TestingT, e1 interface{}, e2 interface{}, msg string, args ...interface{}) bool { |
| 489 | if h, ok := t.(tHelper); ok { |
| 490 | h.Helper() |
| 491 | } |
| 492 | return LessOrEqual(t, e1, e2, append([]interface{}{msg}, args...)...) |
| 493 | } |
| 494 | |
| 495 | // Negativef asserts that the specified element is negative |
| 496 | // |
no test coverage detected
searching dependent graphs…