diff --git a/sdk/metric/reader_test.go b/sdk/metric/reader_test.go index f00e14d8ff1..3cc8c8c9264 100644 --- a/sdk/metric/reader_test.go +++ b/sdk/metric/reader_test.go @@ -203,8 +203,9 @@ func TestDefaultAggregationSelector(t *testing.T) { } func TestDefaultTemporalitySelector(t *testing.T) { + var undefinedInstrument view.InstrumentKind for _, ik := range []view.InstrumentKind{ - 0, + undefinedInstrument, view.SyncCounter, view.SyncUpDownCounter, view.SyncHistogram,