all repos — archive/microformats @ c2d85f7328e7d08de1405638748d3c78ce833cc3

Incomplete Clojure microformats library

Add basic example test

Alan Pearce
commit

c2d85f7328e7d08de1405638748d3c78ce833cc3

parent

afd0a7540b18dd713a93ad144307da8fac0b2857

1 file changed, 3 insertions(+), 0 deletions(-)

jump to
M test/microformats/parser_expectations.cljtest/microformats/parser_expectations.clj
@@ -102,3 +102,6 @@ <a rel=\"author\" href=\"http://example.com/b\">author b</a>")))
(expect {:items [] :rels {}} (parse "")) + +(expect {:items [{:properties {:name "Example User"}}] :rels {}} + (parse "<div class=\"h-card\"><p class=\"p-name\">Example User</p</div>"))