]> git.lizzy.rs Git - rust.git/blobdiff - library/test/src/formatters/junit.rs
Rollup merge of #90498 - joshtriplett:target-tier-policy-draft-updates, r=Mark-Simulacrum
[rust.git] / library / test / src / formatters / junit.rs
index e2aebee916d0eae7bb4f1364fec83f62660141fa..fa23cf2689671c14d8b7da1e14225bd8334d19d1 100644 (file)
@@ -55,8 +55,8 @@ fn write_result(
         _stdout: &[u8],
         _state: &ConsoleTestState,
     ) -> io::Result<()> {
-        // 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
+        // Because the testsuite node holds some of the information as attributes, we can't write it
+        // until all of the tests have finished. Instead of writing 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).unwrap_or_default();
         self.results.push((desc.clone(), result.clone(), duration));