Permalink
Browse files

Merge pull request #28 from teropa/master

Fixed basic test assertions (closing parens were in the wrong place)
  • Loading branch information...
weavejester committed Aug 7, 2011
2 parents 10c3ebe + e4222ea commit f6e598ca0e0ac7c47d58f89c5fe0cd9f0058a23d
Showing with 3 additions and 3 deletions.
  1. +3 −3 test/hiccup/test/core.clj
@@ -12,9 +12,9 @@
(deftest tag-names
(testing "basic tags"
- (is (= (html [:div] "<div></div>")))
- (is (= (html ["div"] "<div></div>")))
- (is (= (html ['div] "<div></div>"))))
+ (is (= (html [:div]) "<div></div>"))
+ (is (= (html ["div"]) "<div></div>"))
+ (is (= (html ['div]) "<div></div>")))
(testing "tag syntax sugar"
(is (= (html [:div#foo]) "<div id=\"foo\"></div>"))
(is (= (html [:div.foo]) "<div class=\"foo\"></div>"))

0 comments on commit f6e598c

Please sign in to comment.