diff options
author | Alan Pearce | 2014-09-15 20:04:02 +0100 |
---|---|---|
committer | Alan Pearce | 2014-09-15 20:04:02 +0100 |
commit | c2d85f7328e7d08de1405638748d3c78ce833cc3 (patch) | |
tree | 88b2a1c4ccd7b9a7bac2e3f8fc7d3f0e34852abc /test | |
parent | afd0a7540b18dd713a93ad144307da8fac0b2857 (diff) | |
download | microformats-c2d85f7328e7d08de1405638748d3c78ce833cc3.tar.lz microformats-c2d85f7328e7d08de1405638748d3c78ce833cc3.tar.zst microformats-c2d85f7328e7d08de1405638748d3c78ce833cc3.zip |
Add basic example test
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 d8b7225..0602119 100644 --- a/test/microformats/parser_expectations.clj +++ b/test/microformats/parser_expectations.clj @@ -102,3 +102,6 @@ (expect {:items [] :rels {}} (parse "")) + +(expect {:items [{:properties {:name "Example User"}}] :rels {}} + (parse "<div class=\"h-card\"><p class=\"p-name\">Example User</p</div>")) |