Make SizeSuffix output without b
suffix for more useful printouts
This commit is contained in:
parent
9bbcdeefd0
commit
772f99fd74
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ func TestSizeSuffixString(t *testing.T) {
|
|||
want string
|
||||
}{
|
||||
{0, "0"},
|
||||
{102, "102b"},
|
||||
{102, "102"},
|
||||
{1024, "1k"},
|
||||
{1024 * 1024, "1M"},
|
||||
{1024 * 1024 * 1024, "1G"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue