On Jan 28, 2013, at 11:13 AM, Sean Corfield <seancorfi...@gmail.com> wrote:
> In other words, don't use the same names for variables in your code > under test that you use for the placeholder variables in the `are` > binding and the test expressions. It might be a good practice to distinguish the roles via a naming convention. The one I use for Midje is to prefix placeholders with ? (as in unification): (tabular (fact ((fn [x] x) ?x) => ?y) ?x ?y 1 1 1 2) -------- Looking for 1/2-time employment as a Clojure programmer Latest book: /Functional Programming for the Object-Oriented Programmer/ https://leanpub.com/fp-oo -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.