test(daemon): adopt go fix's promoted-field literal (#1797)
Quality / check (pull_request) Canceled after 2m32s

This commit is contained in:
sam committed 2026-11-08 03:37:54 +00:00
1 parent 33f7323eb0
commit 558659bcf4
1 file changed
+1 -1
+1 -1
View File
@@ -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"})
}