Skip to content

Commit

Permalink
style: format code with Go fmt and Gofumpt
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 8930726 according to the output
from Go fmt and Gofumpt.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Oct 9, 2024
1 parent 8930726 commit 3167eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 3167eac

Please sign in to comment.