mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
fix: Remove extra newlines from junit output
This commit is contained in:
@@ -33,7 +33,6 @@ fn write_run_start(
|
||||
_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 @@ fn write_run_finish(&mut self, state: &ConsoleTestState) -> io::Result<bool> {
|
||||
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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user