Closed wilbowma closed 3 years ago
Transferred this to the rackunit repository since it seems like a rackunit-specific issue.
I think updating the docs is the right move. A lot of CI systems decide whether or not your CI checks failed based on whether there was any output to the stderr, so rackunit's behavior is probably intended to cooperate with that.
My mistake; thanks for the correction
Closed by #137
What version of Racket are you using? e.g., 8.0.0.9 [cs], commit 18435e3a082fbcfdd09d76f06f3b1349a386bab6
What program did you run?
What should have happened? According to the documentation,
run-tests
outputs to thecurrent-output-port
, so these tests should pass. However, it seemsrun-tests
only outputs to thecurrent-output-port
if all tests pass; otherwise, it outputs tocurrent-error-port
. This makes sense, I guess, but is at odds with the docs, and I'm not sure which behaviour to believe.