diff options
-rw-r--r-- | src/common.rs | 2 | ||||
-rw-r--r-- | tests/snapshots/success-bytes-only | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/common.rs b/src/common.rs index fe36988..eefcceb 100644 --- a/src/common.rs +++ b/src/common.rs @@ -81,7 +81,7 @@ impl fmt::Display for ByteFormatDisplay { use ByteFormat::*; let binary = match self.format { - Bytes => return write!(f, "{} b", self.bytes), + Bytes => return write!(f, "{:>10} b", self.bytes), Binary => true, Metric => false, }; diff --git a/tests/snapshots/success-bytes-only b/tests/snapshots/success-bytes-only index bf6466a..5ad3f75 100644 --- a/tests/snapshots/success-bytes-only +++ b/tests/snapshots/success-bytes-only @@ -1,7 +1,7 @@ - 0 b b.empty - 123 b z123.b - 256 b a - 256 b c.lnk - 666 b .hidden.666 - 1258024 b dir - 1259325 b total
\ No newline at end of file + 0 b b.empty + 123 b z123.b + 256 b a + 256 b c.lnk + 666 b .hidden.666 + 1258024 b dir + 1259325 b total
\ No newline at end of file |