Skip to content

Commit

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

Details: #2733
  • Loading branch information
deepsource-autofix[bot] authored Nov 11, 2024
1 parent f44becf commit fc4e38b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sync/singleflight/singleflight_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ func TestDoMultipleErrors(t *testing.T) {
wg.Add(1)
go func() {
defer wg.Done()
v, _, err := g.Do(context.Background(), "key", func(context.Context) (string, error) {
v, _, err := g.Do(context.Background(), "key", func(context.Context) (string, error) {
atomic.AddInt32(&calls, 1)
time.Sleep(10 * time.Millisecond)
return "", someErr
Expand Down

0 comments on commit fc4e38b

Please sign in to comment.