From b12efc0d46294c8c6295971360b67de28127175a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 12 Oct 2014 00:47:57 +0100 Subject: Make trace available in tests Really useful with expect-focused to understand what's going wrong --- test/microformats/parser_expectations.clj | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj index e04887e..654241c 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -2,8 +2,12 @@ (:require [expectations :refer :all] [microformats.parser :refer :all] [clojure.zip :as z] + [clojure.tools.trace :refer :all] [net.cgrand.enlive-html :refer [html-snippet]])) +(untrace-ns 'microformats.parser) +;(trace-ns 'microformats.parser) + (defn- snippets [html] (map z/xml-zip (html-snippet html))) -- cgit 1.4.1