summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-11-26 09:44:45 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-11-26 16:49:48 -0800
commit24349fbeae8f119e63fca544ffa6d6c3a39f89bb (patch)
tree4aa19e8ce7db325db75b88f9d8b0021330b436a6 /src/libtest
parentf4a775639ca846f29abeed16a7b4e8e1c8819626 (diff)
parent4671f7f07ca13cfc134af07e0d4556631be53104 (diff)
downloadrust-24349fbeae8f119e63fca544ffa6d6c3a39f89bb.tar.gz
rust-24349fbeae8f119e63fca544ffa6d6c3a39f89bb.zip
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
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs
index 9acb12c56d9..bed66b99d83 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -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");
             }
         }