Skip to content

Commit 4671f7f

Browse files
committed
Stop indenting error messages. It throws off M-x next-error in emacs and seems to serve little purpose.
1 parent 0c1d853 commit 4671f7f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libtest/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -643,9 +643,7 @@ impl<T: Writer> ConsoleTestState<T> {
643643
fail_out.push_str(format!("---- {} stdout ----\n\t",
644644
f.name.as_slice()).as_slice());
645645
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());
646+
fail_out.push_str(output.as_slice());
649647
fail_out.push_str("\n");
650648
}
651649
}

0 commit comments

Comments
 (0)