Conditionf uses a Comparison to assert a complex condition.
(t TestingT, comp Comparison, msg string, args ...interface{})
| 10 | |
| 11 | // Conditionf uses a Comparison to assert a complex condition. |
| 12 | func Conditionf(t TestingT, comp Comparison, msg string, args ...interface{}) bool { |
| 13 | if h, ok := t.(tHelper); ok { |
| 14 | h.Helper() |
| 15 | } |
| 16 | return Condition(t, comp, append([]interface{}{msg}, args...)...) |
| 17 | } |
| 18 | |
| 19 | // Containsf asserts that the specified string, list(array, slice...) or map contains the |
| 20 | // specified substring or element. |
no test coverage detected