We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134f967 commit 74ab2c8Copy full SHA for 74ab2c8
errsizedgroup_test.go
@@ -232,6 +232,7 @@ func TestErrorSizedGroup_MultiError(t *testing.T) {
232
233
func TestErrorSizedGroup_Cancel(t *testing.T) {
234
ctx, cancel := context.WithCancel(context.Background())
235
+ defer cancel()
236
ewg := NewErrSizedGroup(10, Context(ctx))
237
238
var c uint32
@@ -259,6 +260,7 @@ func TestErrorSizedGroup_Cancel(t *testing.T) {
259
260
261
func TestErrorSizedGroup_CancelWithPreemptive(t *testing.T) {
262
263
264
ewg := NewErrSizedGroup(10, Context(ctx), Preemptive)
265
266
0 commit comments