From a4735ff01cdb3ac784820b0510bf07a33a561f1b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 19 Oct 2014 13:20:46 +0100 Subject: Allow base-url to be overridden by parse argument --- test/microformats/parser_expectations.clj | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj index f8c7bfb..dd7b335 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -305,6 +305,12 @@
\"Example
")) +(expect-focused {:items '({:type ("h-card") :properties {:name ("Example User") + :photo ("http://not-example.com/me.png")}}) :rels {}} + (parse " +
\"Example
+" "http://not-example.com/")) + (expect {:items '({:type ("h-card"), :properties {:photo ("http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg"), :url ("http://blog.lizardwrangler.com/" "https://twitter.com/MitchellBaker"), -- cgit 1.4.1