rollup merge of #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
This commit is contained in:
commit
24349fbeae
@ -643,9 +643,7 @@ impl<T: Writer> ConsoleTestState<T> {
|
||||
fail_out.push_str(format!("---- {} stdout ----\n\t",
|
||||
f.name.as_slice()).as_slice());
|
||||
let output = String::from_utf8_lossy(stdout.as_slice());
|
||||
fail_out.push_str(output.as_slice()
|
||||
.replace("\n", "\n\t")
|
||||
.as_slice());
|
||||
fail_out.push_str(output.as_slice());
|
||||
fail_out.push_str("\n");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user