@@ -103,7 +103,7 @@ TEST(Histogram, DoubleCustomBuckets)
103103 std::shared_ptr<HistogramAggregationConfig> config (new HistogramAggregationConfig ());
104104 config->boundaries_ = {10 , 20 , 30 , 40 };
105105 std::unique_ptr<View> view{
106- new View (" view1" , " view1_description" , instrument_unit, AggregationType::kHistogram , config)};
106+ new View (" view1" , " view1_description" , AggregationType::kHistogram , config)};
107107 std::unique_ptr<InstrumentSelector> instrument_selector{
108108 new InstrumentSelector (InstrumentType::kHistogram , instrument_name, instrument_unit)};
109109 std::unique_ptr<MeterSelector> meter_selector{new MeterSelector (" meter1" , " version1" , " schema1" )};
@@ -163,7 +163,7 @@ TEST(Histogram, DoubleEmptyBuckets)
163163 std::shared_ptr<HistogramAggregationConfig> config (new HistogramAggregationConfig ());
164164 config->boundaries_ = {};
165165 std::unique_ptr<View> view{
166- new View (" view1" , " view1_description" , instrument_unit, AggregationType::kHistogram , config)};
166+ new View (" view1" , " view1_description" , AggregationType::kHistogram , config)};
167167 std::unique_ptr<InstrumentSelector> instrument_selector{
168168 new InstrumentSelector (InstrumentType::kHistogram , instrument_name, instrument_unit)};
169169 std::unique_ptr<MeterSelector> meter_selector{new MeterSelector (" meter1" , " version1" , " schema1" )};
@@ -278,7 +278,7 @@ TEST(Histogram, UInt64CustomBuckets)
278278 std::shared_ptr<HistogramAggregationConfig> config (new HistogramAggregationConfig ());
279279 config->boundaries_ = {10 , 20 , 30 , 40 };
280280 std::unique_ptr<View> view{
281- new View (" view1" , " view1_description" , " ms " , AggregationType::kHistogram , config)};
281+ new View (" view1" , " view1_description" , AggregationType::kHistogram , config)};
282282 std::unique_ptr<InstrumentSelector> instrument_selector{
283283 new InstrumentSelector (InstrumentType::kHistogram , instrument_name, instrument_unit)};
284284 std::unique_ptr<MeterSelector> meter_selector{new MeterSelector (" meter1" , " version1" , " schema1" )};
@@ -338,7 +338,7 @@ TEST(Histogram, UInt64EmptyBuckets)
338338 std::shared_ptr<HistogramAggregationConfig> config (new HistogramAggregationConfig ());
339339 config->boundaries_ = {};
340340 std::unique_ptr<View> view{
341- new View (" view1" , " view1_description" , " ms " , AggregationType::kHistogram , config)};
341+ new View (" view1" , " view1_description" , AggregationType::kHistogram , config)};
342342 std::unique_ptr<InstrumentSelector> instrument_selector{
343343 new InstrumentSelector (InstrumentType::kHistogram , instrument_name, instrument_unit)};
344344 std::unique_ptr<MeterSelector> meter_selector{new MeterSelector (" meter1" , " version1" , " schema1" )};
0 commit comments