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) }