mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 05:17:30 +08:00
fix: resolve go vet lint
This commit is contained in:
@@ -1830,7 +1830,12 @@ func TestInspectorKillTaskByKeyKillsScheduledTask(t *testing.T) {
|
||||
},
|
||||
wantDead: map[string][]base.Z{
|
||||
"default": {},
|
||||
"custom": {{m2, now.Unix()}},
|
||||
"custom": {
|
||||
{
|
||||
Message: m2,
|
||||
Score: now.Unix(),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
@@ -1900,7 +1905,12 @@ func TestInspectorKillTaskByKeyKillsRetryTask(t *testing.T) {
|
||||
},
|
||||
wantDead: map[string][]base.Z{
|
||||
"default": {},
|
||||
"custom": {{m2, now.Unix()}},
|
||||
"custom": {
|
||||
{
|
||||
Message: m2,
|
||||
Score: now.Unix(),
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user