fix: resolve go vet lint

This commit is contained in:
MinJae Kwon
2020-12-20 23:09:51 +09:00
committed by GitHub
parent 37dfd746d4
commit c4dc993241
5 changed files with 24 additions and 7 deletions

View File

@@ -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(),
},
},
},
},
}