Permalink
Browse files

Copy metadata from symbol in deftest (for :focus support)

  • Loading branch information...
1 parent 751c85e commit a26d7925d33129b32ebf13a6c8c4da8c7c635de3 @stuartsierra committed Dec 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/lazytest/src/main/clojure/lazytest/deftest.clj
@@ -66,5 +66,5 @@
{:pre [(symbol? sym)]}
`(def ~sym (vary-meta (test-case (fn [] ~@body))
merge
- '~(meta (first body))
+ '~(meta sym)
{:name '~sym})))

0 comments on commit a26d792

Please sign in to comment.