Commit dc034e6
Fix entity display not working with padding. (#21850)
# Objective
Attempting to display entities with padding does not work, no padding is
added.
## Solution
Fix the `fmt::Display` implementation of `Entity` so that padding works.
## Testing
Added some unit tests for padding.
Co-authored-by: François Mockers <francois.mockers@vleue.com>1 parent 887672f commit dc034e6
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | | - | |
| 674 | + | |
675 | 675 | | |
676 | | - | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
677 | 681 | | |
678 | 682 | | |
679 | 683 | | |
| |||
1514 | 1518 | | |
1515 | 1519 | | |
1516 | 1520 | | |
| 1521 | + | |
| 1522 | + | |
| 1523 | + | |
| 1524 | + | |
| 1525 | + | |
| 1526 | + | |
1517 | 1527 | | |
1518 | 1528 | | |
1519 | 1529 | | |
| |||
0 commit comments