                 :actual     (str (:actual m))
                 :raw-actual (:actual m)
                 :extra      (:extra m)}]
-    (report/error detail)))
+    (impl/error detail)))
 
 (defmethod untangled-report :fail [m]
   (t/inc-report-counter :fail)

                :actual     (str (:actual m))
                :raw-actual (:actual m)
                :extra      (:extra m)}]
    (report/fail detail)))

(defmethod untangled-report :begin-test-ns [m]
  (report/begin-namespace (ns-name (:ns m))))

(defmethod untangled-report :end-test-ns [m]
  (report/end-namespace))

(defmethod untangled-report :begin-specification [m]
  (report/begin-specification (:string m)))

(defmethod untangled-report :end-specification [m]
  (report/end-specification))

(defmethod untangled-report :begin-behavior [m]
  (report/begin-behavior (:string m)))

(defmethod untangled-report :end-behavior [m]
  (report/end-behavior))

(defmethod untangled-report :begin-manual [m]
  (report/begin-behavior (str (:string m) "(MANUAL)")))

(defmethod untangled-report :end-manual [m]
  (report/end-behavior))

(defmethod untangled-report :begin-provided [m]
  (report/begin-provided (:string m)))

(defmethod untangled-report :end-provided [m]
  (report/end-provided))

(defmethod untangled-report :summary [m]
  (let [stats {:tested (:test m) :passed (:pass m)
               :failed (:fail m) :error (:error m)}]
    (report/summary stats)
    (print-report-data)))

(defmacro with-untangled-output

(ns untangled-spec.reporters.terminal
  (:require [clojure.test :as t :refer (are is deftest with-test run-tests testing testing-vars-str)]
            [clojure.stacktrace :as stack]
            [untangled-spec.reporters.impl.terminal :as impl]
            [colorize.core :as c]
            [clojure.data :refer [diff]]
            [io.aviso.exception :refer [format-exception *traditional*]])
