The with-out-str macro should be able to do this for you. A few examples
of use can be found on ClojureDocs here:
https://clojuredocs.org/clojure.core/with-out-str
You may find the Clojure cheat sheet useful for discovering things like
this (at least for things the cheat sheet includes -- it doe
I've got a function which is supposed to println a computed value. How do
I test whether it printed that value, when using clojure.test?
Or, another way of asking the same question is how do I grab the output
from println when testing a function with clojure.test?
TIA
--
You received this me