From 3167eac2fb2e7d6910fb3e62429abf89f1248418 Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:04:32 +0000 Subject: [PATCH] style: format code with Go fmt and Gofumpt This commit fixes the style issues introduced in 8930726 according to the output from Go fmt and Gofumpt. Details: None --- faker_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faker_test.go b/faker_test.go index 6d29914..7ec0844 100644 --- a/faker_test.go +++ b/faker_test.go @@ -467,7 +467,7 @@ func TestFloat32(t *testing.T) { Expect(t, fmt.Sprintf("%T", value), "float32") Expect(t, true, value >= 1) Expect(t, true, value <= 100) - rounded := float32(math.Round(float64(value*100))/100) + rounded := float32(math.Round(float64(value*100)) / 100) Expect(t, rounded, value) }