summaryrefslogtreecommitdiffstats
path: root/services/pull
diff options
context:
space:
mode:
Diffstat (limited to 'services/pull')
-rw-r--r--services/pull/check_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/services/pull/check_test.go b/services/pull/check_test.go
index 33a230e5ab..f6614ea0ad 100644
--- a/services/pull/check_test.go
+++ b/services/pull/check_test.go
@@ -6,7 +6,6 @@
package pull
import (
- "context"
"strconv"
"testing"
"time"
@@ -54,9 +53,9 @@ func TestPullRequest_AddToTaskQueue(t *testing.T) {
assert.True(t, has)
assert.NoError(t, err)
- prQueue.Run(func(_ context.Context, shutdown func()) {
+ prQueue.Run(func(shutdown func()) {
queueShutdown = append(queueShutdown, shutdown)
- }, func(_ context.Context, terminate func()) {
+ }, func(terminate func()) {
queueTerminate = append(queueTerminate, terminate)
})