1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00

Fix the typo in test names (#7369)

- `Observabilty` ->`Observability`
This commit is contained in:
ian
2025-09-17 02:14:20 +08:00
committed by GitHub
parent 129853362b
commit 666f95c114
@@ -59,7 +59,7 @@ func (m *errMeter) Float64Histogram(string, ...mapi.Float64HistogramOption) (map
return nil, m.err
}
func TestNewInstrumentationObservabiltyErrors(t *testing.T) {
func TestNewInstrumentationObservabilityErrors(t *testing.T) {
orig := otel.GetMeterProvider()
t.Cleanup(func() { otel.SetMeterProvider(orig) })
mp := &errMeterProvider{err: assert.AnError}
@@ -75,7 +75,7 @@ func TestNewInstrumentationObservabiltyErrors(t *testing.T) {
assert.ErrorContains(t, err, "operation duration metric")
}
func TestNewInstrumentationObservabiltyDisabled(t *testing.T) {
func TestNewInstrumentationObservabilityDisabled(t *testing.T) {
// Do not set OTEL_GO_X_OBSERVABILITY.
got, err := observ.NewInstrumentation(ID)
assert.NoError(t, err)