Hi, I'm learning Clojure by playing with a simple test toolkit: (fn-with-tests + [[= 2 [1 1]] [= 2 [1 1]] [= 2 [1 0]] [= 2 [2 0]]])
.. FAIL: [#<core$_EQ___2886 clojure.core$_eq___2...@13d422d> 2 [1 0]] . === Tests Done === Some tests FAILED! false As you can see, I want to report the vector that defined the failing test, but am annoyed with ='s internal representation. Here's what I tried to print a test failure: (println (format "FAIL: %s" (print-str (print-str (first test)) (rest test)))) Do you know of something that would allow me to print the following instead? FAIL: [= 2 [1 0]] I tried (name ...) without avail. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---