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.
2 parents 6734911 + 7408da7 commit 44e6de7Copy full SHA for 44e6de7
test/src/formatters/junit.rs
@@ -53,7 +53,7 @@ impl<T: Write> OutputFormatter for JunitFormatter<T> {
53
// Because the testsuit node holds some of the information as attributes, we can't write it
54
// until all of the tests has ran. Instead of writting every result as they come in, we add
55
// them to a Vec and write them all at once when run is complete.
56
- let duration = exec_time.map(|t| t.0.clone()).unwrap_or_default();
+ let duration = exec_time.map(|t| t.0).unwrap_or_default();
57
self.results.push((desc.clone(), result.clone(), duration));
58
Ok(())
59
}
0 commit comments