about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/microformats/parser_expectations.clj9
1 files changed, 9 insertions, 0 deletions
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 @@
 <a class=\"u-url\" href=\"http://myblog.com\">My Blog</a>
 </div>"))
 
+(expect {:items '({:type ("h-card") :properties {:name ("Example User")
+                                                 :url ("http://example.com"
+                                                       "http://myblog.com")}})
+         :rels {}}
+        (parse "<div class=\"h-card\">
+<a class=\"u-url p-name\" href=\"http://example.com\">Example User</a>
+<a class=\"u-url\" href=\"http://myblog.com\">My Blog</a>
+</div>"))
+
 (expect {:items '({:type ("h-card")
                   :properties {:name ("Example")
                                :tel ("01234567890")}})