diff options
author | Alan Pearce | 2014-09-21 20:55:31 +0100 |
---|---|---|
committer | Alan Pearce | 2014-09-21 20:55:31 +0100 |
commit | d5b6c2d56e84a93232c2d3c87d93b70102006bee (patch) | |
tree | 7aa6aa8968defe771a651c56ccae8f44a6ce152c /test | |
parent | 6d5093970156cc85794c9a5f503f93c9989d461b (diff) | |
download | microformats-d5b6c2d56e84a93232c2d3c87d93b70102006bee.tar.lz microformats-d5b6c2d56e84a93232c2d3c87d93b70102006bee.tar.zst microformats-d5b6c2d56e84a93232c2d3c87d93b70102006bee.zip |
Add initial implied property parsing
Diffstat (limited to 'test')
-rw-r--r-- | test/microformats/parser_expectations.clj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj index 8948840..53f9ca5 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -115,3 +115,6 @@ (expect {:items [{:properties {:name "Example User"} :type ["h-card"]}] :rels {}} (parse "<div class=\"h-card\"><p class=\"p-name\">Example User</p></div>")) + +(expect {:items [{:type ["h-card"] :properties {:name "Example User"}}] :rels {}} + (parse "<p class=\"h-card\">Example User</p>")) |