From 8d3b9dc5f28587d0290ebf6f7c0bedf0866f5b62 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 12 Oct 2014 00:51:52 +0100 Subject: Parse multi-type properties on same element --- test/microformats/parser_expectations.clj | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj index 654241c..15d41da 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -231,6 +231,15 @@ My Blog ")) +(expect {:items '({:type ("h-card") :properties {:name ("Example User") + :url ("http://example.com" + "http://myblog.com")}}) + :rels {}} + (parse "
+Example User +My Blog +
")) + (expect {:items '({:type ("h-card") :properties {:name ("Example") :tel ("01234567890")}}) -- cgit 1.4.1