From dc1b88d86c0feffd15489a3f51681a9942d107c0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 12 Oct 2014 00:55:12 +0100 Subject: Whitespace cleanup --- test/microformats/parser_expectations.clj | 46 +++++++++++++++---------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj index 15d41da..a60883d 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -34,12 +34,12 @@ (#'microformats.parser/node-to-text))) (expect {:tag :div :attrs {:class "h-card"} - :content ["\n" - {:tag :p :attrs nil - :content [{:tag :a :attrs {:class "h-org"} - :content nil}]} - "\n"]} - (z/node (snippet "
Example User
Example
@@ -252,13 +252,13 @@ (expect {:items '({:type ("h-adr"), - :properties {:street-address ("665 3rd St."), - :extended-address ("Suite 207"), - :locality ("San Francisco"), - :region ("CA"), - :postal-code ("94107"), - :country-name ("U.S.A."), - :name ("665 3rd St. Suite 207 San Francisco, CA 94107 U.S.A.")}}) + :properties {:street-address ("665 3rd St."), + :extended-address ("Suite 207"), + :locality ("San Francisco"), + :region ("CA"), + :postal-code ("94107"), + :country-name ("U.S.A."), + :name ("665 3rd St. Suite 207 San Francisco, CA 94107 U.S.A.")}}) :rels {}} (parse "665 3rd St. @@ -270,13 +270,13 @@
")) (expect {:items '({:type ("h-card" "h-org") - :properties {:name ("Example")}}) + :properties {:name ("Example")}}) :rels {}} (parse "Example
")) (expect {:items '({:type ("h-card") - :properties {:name ("John Doe") - :org ({:value "Example" + :properties {:name ("John Doe") + :org ({:value "Example" :type ("h-card" "h-org") :properties {:name ("Example")}})}}) :rels {}} -- cgit 1.4.1