about summary refs log tree commit diff stats
path: root/test/microformats/parser_test.clj
blob: 5bdf9adf1e90febb4ec80c54669d206cc735974f (plain)
1
2
3
4
5
6
7
8
(ns microformats.parser-test
  (:require [clojure.test :refer :all]
            [microformats.core :refer :all]))

(deftest empty-document
  (testing "Empty HTML document should return an empty 'items' array and 'rels' hash."
    (is (= {:items [] :rels {}}
           (parse "")))))