test(daemon): adopt go fix's promoted-field literal (#1797)
Quality / check (pull_request) Canceled after 2m32s
Quality / check (pull_request) Canceled after 2m32s
This commit is contained in:
1 parent
33f7323eb0
commit
558659bcf4
1 file changed
+1
-1
@@ -633,7 +633,7 @@ func TestDrainPassClaimsABacklogWithoutWaitingPerTask(t *testing.T) {
|
||||
func TestDrainPassClaimsOnlyWhatTheDispatcherCanRun(t *testing.T) {
|
||||
release := make(chan struct{})
|
||||
defer close(release)
|
||||
store := &queuedStore{stubStore: stubStore{park: func() { <-release }}}
|
||||
store := &queuedStore{park: func() { <-release }}
|
||||
for id := range int64(10) {
|
||||
store.queue = append(store.queue, &workflow.Task{ID: id + 1, Owner: "acme", Repo: "app"})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user