From 4f91f0d7e5ef93add2576a372dde441e278c8f5b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 Oct 2014 21:17:21 +0100 Subject: Use tree-walking for property parsing --- test/microformats/parser_expectations.clj | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'test') diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj index 9c9da10..70be23f 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -29,22 +29,6 @@ snippet z/node :content (#'microformats.parser/node-to-text))) -(expect '({:tag :div :attrs {:class "h-card"} - :content nil}) - (map-h z/node (snippet - "
"))) - -(expect '({:tag :div :attrs {:class "h-card"} - :content nil}) - (map-h z/node (snippet - "
"))) - -(expect '({:tag :div :attrs {:class "h-card"} - :content ({:tag :a :attrs {:class "h-org"} - :content nil})}) - (map-h z/node (snippet - "
"))) - (expect {:tag :div :attrs {:class "h-card"} :content ["\n" {:tag :p :attrs nil -- cgit 1.4.1