testament/assert-matches
macro
/usr/local/lib/janet/testament/lib/testament.janet on line 742, column 1
(assert-matches structure actual &opt note)
Asserts that `structure` matches `actual` (with an optional `note`)
The `assert-matches` macro provides a mechanism for creating an
assertion that an expression matches a particular structure (at
least in part).
An optional `note` can be included that will be used in any failure
result to identify the assertion. If no `note` is provided, the
form `(matches structure actual)` is used.