diff --git a/pkg/util/async/bounded_frequency_runner_test.go b/pkg/util/async/bounded_frequency_runner_test.go index 348169fb4e8..9601d0c1694 100644 --- a/pkg/util/async/bounded_frequency_runner_test.go +++ b/pkg/util/async/bounded_frequency_runner_test.go @@ -277,8 +277,8 @@ func Test_BoundedFrequencyRunnerNoBurst(t *testing.T) { // Clean up. stop <- struct{}{} - //a message is sent to time.updated in func Stop() at the end of the child goroutine - //to terminate the child, a receive on time.updated is needed here + // a message is sent to time.updated in func Stop() at the end of the child goroutine + // to terminate the child, a receive on time.updated is needed here <- time.updated } @@ -361,8 +361,8 @@ func Test_BoundedFrequencyRunnerBurst(t *testing.T) { // Clean up. stop <- struct{}{} - //a message is sent to time.updated in func Stop() at the end of the child goroutine - //to terminate the child, a receive on time.updated is needed here + // a message is sent to time.updated in func Stop() at the end of the child goroutine + // to terminate the child, a receive on time.updated is needed here <- time.updated } @@ -447,7 +447,7 @@ func Test_BoundedFrequencyRunnerRetryAfter(t *testing.T) { // Clean up. stop <- struct{}{} - //a message is sent to time.updated in func Stop() at the end of the child goroutine - //to terminate the child, a receive on time.updated is needed here + // a message is sent to time.updated in func Stop() at the end of the child goroutine + // to terminate the child, a receive on time.updated is needed here <- time.updated }