mirror of
https://github.com/hanzoai/telemetry.git
synced 2026-10-30 20:01:49 +00:00
16 lines
325 B
Go
16 lines
325 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package pmetric // import "go.opentelemetry.io/collector/pdata/pmetric"
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func FuzzUnmarshalMetrics(f *testing.F) {
|
|
f.Fuzz(func(_ *testing.T, data []byte) {
|
|
u := &JSONUnmarshaler{}
|
|
_, _ = u.UnmarshalMetrics(data)
|
|
})
|
|
}
|