Skip to content

Commit

Permalink
fix result_pool_test.go (#99)
Browse files Browse the repository at this point in the history
Fixes #98
  • Loading branch information
camdencheek committed Mar 3, 2023
1 parent ba7ce51 commit 1d4991d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pool/result_pool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func TestResultGroup(t *testing.T) {
t.Parallel()
g := NewWithResults[int]()
g.Go(func() int { return 0 })
_ = g.Wait()
require.Panics(t, func() { g.WithMaxGoroutines(10) })
})
})
Expand Down

0 comments on commit 1d4991d

Please sign in to comment.