Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
catatsuy committed Feb 20, 2021
1 parent 4e64a34 commit 52d8887
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions throttle/exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func TestRun_pipeClose(t *testing.T) {

doneCallback := func(s string) error {
defer func() {
// TODO: If goroutine is not used, tests cannot be run multiple times
go func() {
fc <- struct{}{}
}()
Expand Down Expand Up @@ -132,6 +133,7 @@ func TestRun_contextDone(t *testing.T) {

doneCallback := func(s string) error {
defer func() {
// TODO: If goroutine is not used, tests cannot be run multiple times
go func() {
fc <- struct{}{}
}()
Expand Down

0 comments on commit 52d8887

Please sign in to comment.