From d2e6b95b24b8e54c48321c042c576fe5a568a065 Mon Sep 17 00:00:00 2001 From: koen-struyve-q <63318743+koen-struyve-q@users.noreply.github.com> Date: Thu, 16 May 2024 17:50:38 +0200 Subject: [PATCH] Correct BenchmarkWithRandomData test names (#316) --- pkg/generator/generator_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/generator/generator_test.go b/pkg/generator/generator_test.go index 24d50e84..153e35e2 100644 --- a/pkg/generator/generator_test.go +++ b/pkg/generator/generator_test.go @@ -182,19 +182,19 @@ func BenchmarkWithRandomData(b *testing.B) { args args }{ { - name: "64KB", + name: "64KiB", args: args{opts: []Option{WithSize(1 << 16), WithRandomData().Apply()}}, }, { - name: "1MB", + name: "1MiB", args: args{opts: []Option{WithSize(1 << 20), WithRandomData().Apply()}}, }, { - name: "10MB", + name: "10MiB", args: args{opts: []Option{WithSize(10 << 20), WithRandomData().Apply()}}, }, { - name: "1GB", + name: "10GiB", args: args{opts: []Option{WithSize(10 << 30), WithRandomData().Apply()}}, }, }