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.clj14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj
index cdd26a9..56d86ab 100644
--- a/test/microformats/parser_expectations.clj
+++ b/test/microformats/parser_expectations.clj
@@ -322,3 +322,17 @@
         <a class=\"p-name u-url\" href=\"http://blog.lizardwrangler.com/\">Mitchell Baker</a>
         <a class=\"u-url\" href=\"https://twitter.com/MitchellBaker\">MitchellBaker</a>
         </div>"))
+
+(expect {:items '({:type ("h-entry"),
+                   :properties {:name ("microformats.org at 7"),
+                                :url ("http://microformats.org/2012/06/25/microformats-org-at-7")}})
+         :rels {}}
+
+        (parse "<div class=\"h-entry\">
+  <p class=\"p-name\">microformats.org at 7</p>
+  <p class=\"u-url\">
+  <span class=\"value\">http://microformats.org/</span> -
+  <span class=\"value\">2012/06/25/microformats-org-at-7</span>
+  </p>
+
+  </div>" "http://example.com/"))