1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-08-10 22:31:50 +02:00

Fix lint issues for golangci-lint 1.62.0 (#5967)

This fixes the new lint issues brough by the golangci-lint upgrade in
https://github.com/open-telemetry/opentelemetry-go/pull/5966
This commit is contained in:
Damien Mathieu
2024-11-13 08:58:59 +01:00
committed by GitHub
parent 0bf957262d
commit 2c15a77942
15 changed files with 37 additions and 44 deletions

View File

@@ -47,7 +47,7 @@ func TestJSONValue(t *testing.T) {
data, err := json.Marshal(kvs)
require.NoError(t, err)
require.Equal(t,
require.JSONEq(t,
`[{"Key":"A","Value":{"Type":"STRING","Value":"B"}},{"Key":"C","Value":{"Type":"INT64","Value":1}}]`,
string(data))
}