Permalink
Browse files

Removed failing test

Can't type hint a primitive local in Clojure >= 1.3
  • Loading branch information...
1 parent 9322dd1 commit fa505477eac295de926a45e203f35d78f582679f @weavejester committed Sep 2, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 test/hiccup/test/core.clj
@@ -81,9 +81,8 @@
(is (= (html [:div {:id (str "a" "b")} (str "foo")])
"<div id=\"ab\">foo</div>")))
(testing "type hints"
- (let [string "x", number 1]
- (is (= (html [:span ^String string]) "<span>x</span>"))
- (is (= (html [:span ^Integer number]) "<span>1</span>"))))
+ (let [string "x"]
+ (is (= (html [:span ^String string]) "<span>x</span>"))))
(testing "optimized forms"
(is (= (html [:ul (for [n (range 3)]
[:li n])])

0 comments on commit fa50547

Please sign in to comment.