<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -796,14 +796,14 @@ Chas Emerick, Allen Rohner, and Stuart Halloway&quot;,
   When *load-tests* is false, deftest is ignored.&quot;
   [name &amp; body]
   (when *load-tests*
-    `(def ~(with-meta name {:test `(fn [] ~@body)})
+    `(def ~(vary-meta name assoc :test `(fn [] ~@body))
           (fn [] (test-var (var ~name))))))
 
 (defmacro deftest-
   &quot;Like deftest but creates a private var.&quot;
   [name &amp; body]
   (when *load-tests*
-    `(def ~(with-meta name {:test `(fn [] ~@body), :private true})
+    `(def ~(vary-meta name assoc :test `(fn [] ~@body) :private true)
           (fn [] (test-var (var ~name))))))
 
 </diff>
      <filename>src/clj/clojure/test.clj</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f5f2943dfd0128744227c3f42a630ea10dd40b24</id>
    </parent>
  </parents>
  <author>
    <name>Phil Hagelberg</name>
    <email>technomancy@gmail.com</email>
  </author>
  <url>http://github.com/richhickey/clojure/commit/7779c99699f29118ee9fc66201c7afdd1a5dd300</url>
  <id>7779c99699f29118ee9fc66201c7afdd1a5dd300</id>
  <committed-date>2009-10-28T19:36:31-07:00</committed-date>
  <authored-date>2009-10-18T21:18:41-07:00</authored-date>
  <message>Preserve test var metadata within deftest. Fixes #201.

Signed-off-by: Chouser &lt;chouser@n01se.net&gt;</message>
  <tree>fd6cd6aede5539f7b210ed0a88559b4591ebc00b</tree>
  <committer>
    <name>Chouser</name>
    <email>chouser@n01se.net</email>
  </committer>
</commit>
