diff options
-rw-r--r-- | test/microformats/parser_test.clj | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/microformats/parser_test.clj b/test/microformats/parser_test.clj index 1de377c..a28261e 100644 --- a/test/microformats/parser_test.clj +++ b/test/microformats/parser_test.clj @@ -14,8 +14,7 @@ "<div class=\"h-card\"><p class=\"p-name\">Example User</p></div>" {:items [{:properties {:nickname "exuser"}}] :rels {}} - "<div class=\"h-card\"><p class=\"p-nickname\">exuser</p></div>" - )) + "<div class=\"h-card\"><p class=\"p-nickname\">exuser</p></div>")) (deftest parse-p-special-elements (testing "img, abbr and data elements should be parsed differently" @@ -27,8 +26,7 @@ "<div class=\"h-card h-person\"><abbr class=\"p-name\" title=\"Example User\">@example</abbr></div>" {:items [{:properties {:name "Example User"}}] :rels {}} - "<div class=\"h-card\"><data class=\"p-name\" value=\"Example User\"></data></div>" - ))) + "<div class=\"h-card\"><data class=\"p-name\" value=\"Example User\"></data></div>"))) (deftest parse-p-empty-br-hr (testing "br and hr tags should return empty strings" @@ -37,5 +35,4 @@ "<div class=\"h-card\"><br class=\"p-name\"/></div>" {:items [{:properties {:name ""}}] :rels {}} - "<div class=\"h-card\"><hr class=\"p-name\"/></div>") - )) + "<div class=\"h-card\"><hr class=\"p-name\"/></div>"))) |