compiletest-rs
compiletest-rs copied to clipboard
nocapture not working for succeeding tests
running cargo test -- --nocapture
or env RUST_TEST_NOCAPTURE=1 cargo test
does not output anything printed with println!
if the test succeeds. If I make the test fail, it prints both stdout and stderr, and I can see the expected output in the stdout part of the log.
I found some references to nocapture
in the source, but haven't been able to get it to work.
Any ideas?