Is using 'is' and 'every?' an option? (deftest test-good-labels (is (every? valid-label? good-labels)))
Justin On Sep 21, 11:53 am, Sean Devlin <francoisdev...@gmail.com> wrote: > I'm trying to pass a vector to are, because I need to reuse some > source data. Is there a better way to do this? I don't like the > eval. > > (def good-labels > [...]) > > (deftest test-good-labels > (eval `(are [label] (valid-label? label) ~...@good-labels))) > > Sean -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en