We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d68e7eb commit 90dc0b0Copy full SHA for 90dc0b0
library/test/src/console.rs
@@ -137,7 +137,7 @@ impl ConsoleTestState {
137
// List the tests to console, and optionally to logfile. Filters are honored.
138
pub fn list_tests_console(opts: &TestOpts, tests: Vec<TestDescAndFn>) -> io::Result<()> {
139
let mut output = match term::stdout() {
140
- None => OutputLocation::Raw(io::stdout()),
+ None => OutputLocation::Raw(io::stdout().lock()),
141
Some(t) => OutputLocation::Pretty(t),
142
};
143
0 commit comments