Fixed syntax errors

This commit is contained in:
Claude-Zq 2022-07-13 19:15:28 +08:00
parent a66cbdc328
commit 9d78ea0de0
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func TestError(t *testing.T) {
jsonBytes, _ := json.Marshal(err)
assert.Equal(t, "{\"error\":\"test error\",\"meta\":\"some data\"}", string(jsonBytes))
err.SetMeta(H{ // nolint: errcheck
err.SetMeta(H{ // nolint: err check
"status": "200",
"data": "some data",
})