mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-16 13:22:09 +08:00
Fixed syntax errors
This commit is contained in:
parent
a66cbdc328
commit
9d78ea0de0
@ -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",
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user