mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 09:21:19 +00:00
code_size_compare: right-align numbers in the comparison result
Signed-off-by: Yanray Wang <yanray.wang@arm.com>
This commit is contained in:
parent
1998aac349
commit
9a6ee71f6f
@ -604,10 +604,10 @@ class CodeSizeGeneratorWithSize(CodeSizeGenerator):
|
||||
|
||||
if with_markdown:
|
||||
dash_line = [":----", "----:", "----:", "----:", "----:"]
|
||||
line_format = "| {0:<30} | {1:<10} | {3:<10} | {2:<12} | {4:<12} |\n"
|
||||
line_format = "| {0:<30} | {1:>10} | {3:>10} | {2:>12} | {4:>12} |\n"
|
||||
bold_text = lambda x: '**' + str(x) + '**'
|
||||
else:
|
||||
line_format = "{0:<30} {1:<10} {3:<10} {2:<12} {4:<12}\n"
|
||||
line_format = "{0:<30} {1:>10} {3:>10} {2:>12} {4:>12}\n"
|
||||
|
||||
def cal_sect_change(
|
||||
old_size: typing.Optional[CodeSizeGeneratorWithSize.SizeEntry],
|
||||
|
Loading…
Reference in New Issue
Block a user