MCPcopy
hub / github.com/expr-lang/expr / Conditionf

Method Conditionf

internal/testify/require/require_forward.go:22–27  ·  view source on GitHub ↗

Conditionf uses a Comparison to assert a complex condition.

(comp assert.Comparison, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

ConditionfFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected