about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorAlan Pearce2014-10-11 21:17:21 +0100
committerAlan Pearce2014-10-11 21:17:21 +0100
commit4f91f0d7e5ef93add2576a372dde441e278c8f5b (patch)
tree8a8a7da25ca262f7ccb7349aba8aac951bd630cf /test
parente81f922f1522030ac801c9f27b8732f0e81d2e08 (diff)
downloadmicroformats-4f91f0d7e5ef93add2576a372dde441e278c8f5b.tar.lz
microformats-4f91f0d7e5ef93add2576a372dde441e278c8f5b.tar.zst
microformats-4f91f0d7e5ef93add2576a372dde441e278c8f5b.zip
Use tree-walking for property parsing
Diffstat (limited to 'test')
-rw-r--r--test/microformats/parser_expectations.clj16
1 files changed, 0 insertions, 16 deletions
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
-                       "<div class=\"h-card\"></div>")))
-
-(expect '({:tag :div :attrs {:class "h-card"}
-           :content nil})
-        (map-h z/node (snippet
-                       "<header><div class=\"h-card\"></div></header>")))
-
-(expect '({:tag :div :attrs {:class "h-card"}
-           :content ({:tag :a :attrs {:class "h-org"}
-                      :content nil})})
-        (map-h z/node (snippet
-                       "<div class=\"h-card\"><a class=\"h-org\"></a></div>")))
-
 (expect {:tag :div :attrs {:class "h-card"}
                  :content ["\n"
                            {:tag :p :attrs nil