diff --git a/internal/cron_task/clear_msg_test.go b/internal/cron_task/clear_msg_test.go index 046af9162..f9ac97ce8 100644 --- a/internal/cron_task/clear_msg_test.go +++ b/internal/cron_task/clear_msg_test.go @@ -37,6 +37,7 @@ func getMsgListFake(num int) []*pbMsg.MsgDataToMQ { }, }) } + return msgList } func TestDeleteMongoMsgAndResetRedisSeq(t *testing.T) {