Skip to content

Commit 5b85ea6

Browse files
committed
Add a test
It's a start, at least
1 parent ca81c73 commit 5b85ea6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/pl/danieljanus/tagsoup_test.clj

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
(ns pl.danieljanus.tagsoup-test
2+
(:use
3+
pl.danieljanus.tagsoup
4+
clojure.test))
5+
6+
(deftest parse-string-test
7+
(is (= [:html {} [:body {} [:p {} "foo"]]]
8+
(parse-string "<p>foo</p>"))))

0 commit comments

Comments
 (0)