Conditionf uses a Comparison to assert a complex condition.
(comp assert.Comparison, msg string, args ...interface{})
| 19 | |
| 20 | // Conditionf uses a Comparison to assert a complex condition. |
| 21 | func (a *Assertions) Conditionf(comp assert.Comparison, msg string, args ...interface{}) { |
| 22 | if h, ok := a.t.(tHelper); ok { |
| 23 | h.Helper() |
| 24 | } |
| 25 | Conditionf(a.t, comp, msg, args...) |
| 26 | } |
| 27 | |
| 28 | // Contains asserts that the specified string, list(array, slice...) or map contains the |
| 29 | // specified substring or element. |
nothing calls this directly
no test coverage detected