Skip to content

Commit

Permalink
Adding a note to hint --nocapture usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchitlegalai committed Aug 4, 2023
1 parent bfb0d19 commit ebe124e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cargo/ops/cargo_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,4 +429,8 @@ fn report_test_error(
}

crate::display_error(&err, &mut ws.config().shell());
drop(ws.config().shell().note(
"test was terminated by the signal, stderr might be truncated, \
pass `--nocapture` disable output buffering.",
));
}

0 comments on commit ebe124e

Please sign in to comment.