From 16c845fbe5963f29c6b65991ef792ace84893673 Mon Sep 17 00:00:00 2001
From: Alan Pearce
Date: Mon, 15 Sep 2014 19:30:52 +0100
Subject: Parse an empty document correctly
---
test/microformats/parser_expectations.clj | 3 +++
1 file changed, 3 insertions(+)
(limited to 'test')
diff --git a/test/microformats/parser_expectations.clj b/test/microformats/parser_expectations.clj
index 742b8e7..d8b7225 100644
--- a/test/microformats/parser_expectations.clj
+++ b/test/microformats/parser_expectations.clj
@@ -99,3 +99,6 @@
(expect {:author ["http://example.com/a" "http://example.com/b"]}
(parse-rels (html-snippet "author a
author b")))
+
+(expect {:items [] :rels {}}
+ (parse ""))
--
cgit 1.4.1