Skip to content

Commit 115cfda

Browse files
committed
compiletest: Only trim the end of process output
1 parent 97279e9 commit 115cfda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4374,7 +4374,7 @@ impl ProcRes {
43744374
pub fn print_info(&self) {
43754375
fn render(name: &str, contents: &str) -> String {
43764376
let contents = json::extract_rendered(contents);
4377-
let contents = contents.trim();
4377+
let contents = contents.trim_end();
43784378
if contents.is_empty() {
43794379
format!("{name}: none")
43804380
} else {

0 commit comments

Comments
 (0)