Assertions in design by contract: Difference between revisions
→{{header|jq}}
Line 345:
=={{header|jq}}==
{{libheader|Jq
{{works with|jq}}
Line 357:
In the following, it is assumed the "debug" mode of assertion checking has been used, e.g.
via the invocation: jq --arg assert debug
This mode allows execution to continue after an assertion violation has been detected.
<syntaxhighlight lang="jq">
include "rc-assert" {search: "."}; # or use the -L command-line option
|