You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test-uitls: fix test output not being captured by cargo test
Rust’s `libtest` has a… limitation where it doesn’t capture data
written directly to `std::io::stdout` or `std::io::stderr` (see
rust-lang/rust#90785). Since we are test
logger to use the latter, none of the log messages are captured by the
test harness.
The solution is to use `TestWriter` as the writer instead which
cooperates `libtest` better.
Issue: near#4490
0 commit comments