Test breakage

6 views
Skip to first unread message

Chas Emerick

unread,
Jan 7, 2010, 1:48:42 PM1/7/10
to Enlive
Using the current HEAD (a7d674) and clojure 1.1-new:

1. net.cgrand.enlive-html.test refers to net.cgrand.enlive-html/
compile-keyword, which doesn't exist

2. FAIL in (transform) (run-test4662674107694705490.clj:12)
expected: (net.cgrand.enlive-html.test/same? "<!-- comment -->" (at
(html-src "<!-- comment -->") [:span] nil))
actual: (not (net.cgrand.enlive-html.test/same? "<!-- comment --
>" ({:type :comment, :data " comment "})))

I don't see any obvious breakage otherwise (e.g. in real usage of the
api), but then, I'm just getting started and am not doing anything
complicated (yet?).

Cheers,

- Chas

Christophe Grand

unread,
Jan 10, 2010, 4:31:53 AM1/10/10
to enliv...@googlegroups.com
Hi Chas,

Thanks for the report. I fixed the tests on compile-keyword and fixed same?
See: http://github.com/cgrand/enlive/commit/3ebe5d6c10073d9aa447ad5ab42bb25ae9a07051

As a crossproduct of this last fix, sniptest is back in enlive-html
and I know it was missed for exploratory enlive coding.

Regards,

Christophe

> --
> You received this message because you are subscribed to the Google Groups "Enlive" group.
> To post to this group, send email to enliv...@googlegroups.com.
> To unsubscribe from this group, send email to enlive-clj+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/enlive-clj?hl=en.
>
>
>
>

--
Professional: http://cgrand.net/ (fr)
On Clojure: http://clj-me.cgrand.net/ (en)

Chas Emerick

unread,
Jan 11, 2010, 8:50:53 AM1/11/10
to enliv...@googlegroups.com
Great, thank you very much. :-)

- Chas

Reply all
Reply to author
Forward
0 new messages