Skip to content

Commit 24349fb

Browse files
committed
rollup merge of rust-lang#19299: nikomatsakis/stop-indenting-test-output
This fixes a long-time irritant of mine. Inserting tabs causes M-x next-error to not work in emacs and seems to serve relatively little purpose in improving overall readability. r? @brson
2 parents f4a7756 + 4671f7f commit 24349fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/libtest/lib.rs

Lines changed: 1 addition & 3 deletions
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)