msg: { actual, expected, }: if actual == expected then '' echo 'it ${msg}' '' else '' echo 'FAILED: ${msg}' echo '${builtins.toJSON expected}' echo '${builtins.toJSON actual}' ''