Commits

Meikel Brandmeyer committed cb69004

Tests were registered as failing regardless of *mode* in batch harness

  • Participants
  • Parent commits 25ea2e3

Comments (0)

Files changed (1)

File src/de/kotka/clojurecheck/harness.clj

 
 (defmethod report-result ::Batch
   [m t desc]
-  (when-not t
+  (when (and (not t) (not= m :todo))
     (dosync (ref-set (*the-harness* :failed-test) true)))
   (dosync (commute (*the-harness* :current-test) inc)))