all repos — archive/microformats @ 20fa6dcbf6cdb737155e1928455133ebbc0654bf

Incomplete Clojure microformats library

Un-focus expectation

Alan Pearce
commit

20fa6dcbf6cdb737155e1928455133ebbc0654bf

parent

a4735ff01cdb3ac784820b0510bf07a33a561f1b

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M test/microformats/parser_expectations.cljtest/microformats/parser_expectations.clj
@@ -305,7 +305,7 @@ (parse "<html><head><base href=\"http://example.com/\"></head><body>
<div class=\"h-card\"><img class=\"u-photo\" alt=\"Example User\" src=\"me.png\"></div> </body></html>")) -(expect-focused {:items '({:type ("h-card") :properties {:name ("Example User") +(expect {:items '({:type ("h-card") :properties {:name ("Example User") :photo ("http://not-example.com/me.png")}}) :rels {}} (parse "<html><head><base href=\"http://example.com/\"></head><body> <div class=\"h-card\"><img class=\"u-photo\" alt=\"Example User\" src=\"me.png\"></div>