Skip to content
Snippets Groups Projects
Commit 6bab4499 authored by Cam Saül's avatar Cam Saül
Browse files

don't generate empty tests for datasets we're not testing against

parent e7cb365d
No related branches found
No related tags found
No related merge requests found
......@@ -204,10 +204,8 @@
(defmacro expect-when-testing-dataset
"Generate a unit test that only runs if we're currently testing against DATASET-NAME."
[dataset-name expected actual]
`(expect
(when-testing-dataset ~dataset-name
~expected)
(when-testing-dataset ~dataset-name
`(when-testing-dataset ~dataset-name
(expect ~expected
~actual)))
(defmacro expect-with-dataset
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment