mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Update junit.rs
This commit is contained in:
parent
38485a9e34
commit
4b4d06ae82
@ -50,7 +50,7 @@ impl<T: Write> OutputFormatter for JunitFormatter<T> {
|
||||
_stdout: &[u8],
|
||||
_state: &ConsoleTestState,
|
||||
) -> io::Result<()> {
|
||||
// Because testsuit node holds some of the information as attributes, we can't write it
|
||||
// Because the testsuit node holds some of the information as attributes, we can't write it
|
||||
// until all of the tests has ran. Instead of writting every result as they come in, we add
|
||||
// them to a Vec and write them all at once when run is complete.
|
||||
let duration = exec_time.map(|t| t.0.clone()).unwrap_or_default();
|
||||
|
Loading…
Reference in New Issue
Block a user