Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Copy metadata from symbol in deftest (for :focus support)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuart Sierra committed Dec 5, 2010
1 parent 751c85e commit a26d792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lazytest/src/main/clojure/lazytest/deftest.clj
Expand Up @@ -66,5 +66,5 @@
{:pre [(symbol? sym)]} {:pre [(symbol? sym)]}
`(def ~sym (vary-meta (test-case (fn [] ~@body)) `(def ~sym (vary-meta (test-case (fn [] ~@body))
merge merge
'~(meta (first body)) '~(meta sym)
{:name '~sym}))) {:name '~sym})))

0 comments on commit a26d792

Please sign in to comment.