The improved error reposting in test-is breaks some tests, e.g. from
the book:
(deftest test-lazy-index-of-any-with-match
(is (with-out-str (is (zero? (index-of-any "zzabyycdxx" #{\z \a}))))
"Iterating overz\n")
(is (with-out-str (is (= 3 (index-of-any "zzabyycdxx" #{\b \y}))))
"Iterating overz\nIterating over z\nIterating over a\n"))
The problem is that it tries to take the value of with-out-str, not
realizing that it is a macro.
Should I
(1) rewrite the test to not use a macro?
(2) take a stab at fixing this in test-is?
(3) get out of the way and let another Stuart handle it? :-)
Stuart
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---