chore: fix typos. (#640)

* chore: fix typos.

* chore: makes go-staticcheck happy.
This commit is contained in:
_rave_cat_
2024-06-09 15:21:27 +08:00
committed by GitHub
parent 5ee2679924
commit 9261a6063d
7 changed files with 24 additions and 23 deletions

View File

@@ -148,8 +148,8 @@ func TestReportIllegal(t *testing.T) {
client := CreateClient()
detectResult := []api.DetectResult{
{1, 2},
{1, 3},
{UID: 1, RuleID: 2},
{UID: 1, RuleID: 3},
}
client.Debug()
err := client.ReportIllegal(&detectResult)