compiletest: Only trim the end of process output

This commit is contained in:
Zalathar 2023-06-30 17:38:46 +10:00
parent 97279e91d8
commit 115cfda6c2

View File

@ -4374,7 +4374,7 @@ impl ProcRes {
pub fn print_info(&self) {
fn render(name: &str, contents: &str) -> String {
let contents = json::extract_rendered(contents);
let contents = contents.trim();
let contents = contents.trim_end();
if contents.is_empty() {
format!("{name}: none")
} else {