diff --git a/sdk/metric/meter_test.go b/sdk/metric/meter_test.go index 189d66de3e0..3d87e58f6c3 100644 --- a/sdk/metric/meter_test.go +++ b/sdk/metric/meter_test.go @@ -423,10 +423,10 @@ func TestMeterCreatesInstruments(t *testing.T) { { name: "SyncInt64Histogram", fn: func(t *testing.T, m metric.Meter) { - gauge, err := m.Int64Histogram("histogram") + histo, err := m.Int64Histogram("histogram") assert.NoError(t, err) - gauge.Record(ctx, 7) + histo.Record(ctx, 7) }, want: metricdata.Metrics{ Name: "histogram", @@ -487,10 +487,10 @@ func TestMeterCreatesInstruments(t *testing.T) { { name: "SyncFloat64Histogram", fn: func(t *testing.T, m metric.Meter) { - gauge, err := m.Float64Histogram("histogram") + histo, err := m.Float64Histogram("histogram") assert.NoError(t, err) - gauge.Record(ctx, 7) + histo.Record(ctx, 7) }, want: metricdata.Metrics{ Name: "histogram",