Skip to content

Commit 323b214

Browse files
authored
Remove unnecessary newline
write_message() expects messages to contain no newlines.
1 parent cc3eee7 commit 323b214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/test/src/formatters/junit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ impl<T: Write> OutputFormatter for JunitFormatter<T> {
189189
compilation_time: f64,
190190
) -> io::Result<()> {
191191
self.write_message(&format!(
192-
"<report total_time=\"{total_time}\" compilation_time=\"{compilation_time}\"></report>\n",
192+
"<report total_time=\"{total_time}\" compilation_time=\"{compilation_time}\"></report>",
193193
))
194194
}
195195
}

0 commit comments

Comments
 (0)