summaryrefslogtreecommitdiff
path: root/internal/template/functions_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/template/functions_test.go')
-rw-r--r--internal/template/functions_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/template/functions_test.go b/internal/template/functions_test.go
index 360d65ae..ddd18a60 100644
--- a/internal/template/functions_test.go
+++ b/internal/template/functions_test.go
@@ -156,6 +156,8 @@ func TestFormatFileSize(t *testing.T) {
input int64
expected string
}{
+ {0, "0 B"},
+ {1, "1 B"},
{500, "500 B"},
{1024, "1.0 KiB"},
{43520, "42.5 KiB"},