package cmd import ( "testing" "github.com/stretchr/testify/require" ) func Test_prettyByteSize(t *testing.T) { require.Equal(t, prettyByteSize(1505099776), "1.4GiB") }