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.
1 parent 0c1d853 commit 4671f7fCopy full SHA for 4671f7f
src/libtest/lib.rs
@@ -643,9 +643,7 @@ impl<T: Writer> ConsoleTestState<T> {
643
fail_out.push_str(format!("---- {} stdout ----\n\t",
644
f.name.as_slice()).as_slice());
645
let output = String::from_utf8_lossy(stdout.as_slice());
646
- fail_out.push_str(output.as_slice()
647
- .replace("\n", "\n\t")
648
- .as_slice());
+ fail_out.push_str(output.as_slice());
649
fail_out.push_str("\n");
650
}
651
0 commit comments