Skip to content

Commit

Permalink
code report prettify
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Feb 12, 2025
1 parent f8c3224 commit 4a37bdb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions framework/meta/src/cmd/code_report/compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ pub(crate) fn allocator_status_after_comparing(
return format!("{}", has_allocator);
}

let allocator_status = format!("{} :arrow-right: {}", compared_has_allocator, has_allocator);
let allocator_status = format!("{} :arrow_right: {}", compared_has_allocator, has_allocator);

if !has_allocator {
format!("{allocator_status} :green-circle:")
format!("{allocator_status} :green_circle:")
} else {
format!("{allocator_status} :red-circle:")
format!("{allocator_status} :red_circle:")
}
}

Expand All @@ -47,10 +47,10 @@ pub(crate) fn panic_status_after_comparing(
return has_panic.to_string();
}

let panic_status = format!("{} :arrow-right: {}", compared_has_panic, has_panic);
let panic_status = format!("{} :arrow_right: {}", compared_has_panic, has_panic);

if has_panic == "none" {
return format!("{panic_status} :green-circle:");
return format!("{panic_status} :green_circle:");
}

panic_status
Expand Down

0 comments on commit 4a37bdb

Please sign in to comment.