Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchAll ¶
MatchAll returns nil if every matcher succeeds against the value. The first failure wins (reports the specific unmet expectation).
Takes []Matcher rather than MatcherList so callers can pass any named slice type whose underlying element is Matcher (e.g. ContainsList) without an explicit conversion at every call site.
Shared by the core check runner and out-of-tree verb plugins.
func MatchValueString ¶
MatchValueString coerces a matcher's stored Value (any) to a string. For numeric types it renders canonically; for everything else it falls back to fmt.Sprint.
Shared by the core check runner and out-of-tree verb plugins.
func MatchValueStrings ¶
MatchValueStrings handles list-valued matchers like {contains: [a, b]}. A scalar value becomes a singleton list.
Shared by the core check runner and out-of-tree verb plugins.
Types ¶
This section is empty.