(defmacro call-being-tested [call-form expected-result]
"Creates a map that contains a function-ized version of the form being
tested, an expected result, and the file position to refer to in case of
failure. See 'expect'."
`{:function-under-test (fn [] ~call-form)
:expected-result ~expected-result
:expected-result-text-for-failures '~expected-result
:file-position (user-file-position)})
Comments top
No comments for call-being-tested. Log in to add a comment.