diff options
| -rw-r--r-- | library/test/src/formatters/junit.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/test/src/formatters/junit.rs b/library/test/src/formatters/junit.rs index fa23cf26896..f940a9ff8f1 100644 --- a/library/test/src/formatters/junit.rs +++ b/library/test/src/formatters/junit.rs @@ -33,7 +33,6 @@ impl<T: Write> OutputFormatter for JunitFormatter<T> { _shuffle_seed: Option<u64>, ) -> io::Result<()> { // We write xml header on run start - self.out.write_all(b"\n")?; self.write_message("<?xml version=\"1.0\" encoding=\"UTF-8\"?>") } @@ -138,7 +137,7 @@ impl<T: Write> OutputFormatter for JunitFormatter<T> { self.write_message("</testsuite>")?; self.write_message("</testsuites>")?; - self.out.write_all(b"\n\n")?; + self.out.write_all(b"\n")?; Ok(state.failed == 0) } |
