Skip to content

Commit

Permalink
💄 linting
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Jan 25, 2025
1 parent 64b343b commit f80ce4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oops_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestOopsWrap_wrapped(t *testing.T) {
is.Equal(map[string]any{"user": "foobar"}, err.(OopsError).Context())

// simulate long http request
ctx, _ := context.WithTimeoutCause(context.TODO(), 1*time.Millisecond, With("hello", "world").Errorf("hello timeout")) //nolint:lostcancel
ctx, _ := context.WithTimeoutCause(context.TODO(), 1*time.Millisecond, With("hello", "world").Errorf("hello timeout")) //nolint:govet
time.Sleep(100 * time.Millisecond)

req, _ := http.NewRequestWithContext(ctx, "GET", "https://google.com", nil)
Expand Down

0 comments on commit f80ce4f

Please sign in to comment.