Skip to content

Commit

Permalink
Fix codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
MadVikingGod committed Aug 4, 2023
1 parent 4bb46fa commit e626be7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions sdk/metric/internal/aggregate/exponential_histogram_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ func TestExponentialHistogramAggregation(t *testing.T) {
// TODO: This can be defined in the test after we drop support for go1.19.
type exponentialHistogramAggregationTestCase[N int64 | float64] struct {
name string
inOut func() (Measure[N], ComputeAggregation)
build func() (Measure[N], ComputeAggregation)
input [][]N
want metricdata.ExponentialHistogram[N]
wantCount int
Expand All @@ -719,7 +719,7 @@ func testExponentialHistogramAggregation[N int64 | float64](t *testing.T) {
tests := []exponentialHistogramAggregationTestCase[N]{
{
name: "Delta Single",
inOut: func() (Measure[N], ComputeAggregation) {
build: func() (Measure[N], ComputeAggregation) {
return Builder[N]{
Temporality: metricdata.DeltaTemporality,
}.ExponentialBucketHistogram(cfg, false)
Expand Down Expand Up @@ -747,7 +747,7 @@ func testExponentialHistogramAggregation[N int64 | float64](t *testing.T) {
},
{
name: "Cumulative Single",
inOut: func() (Measure[N], ComputeAggregation) {
build: func() (Measure[N], ComputeAggregation) {
return Builder[N]{
Temporality: metricdata.CumulativeTemporality,
}.ExponentialBucketHistogram(cfg, false)
Expand Down Expand Up @@ -775,7 +775,7 @@ func testExponentialHistogramAggregation[N int64 | float64](t *testing.T) {
},
{
name: "Delta Multiple",
inOut: func() (Measure[N], ComputeAggregation) {
build: func() (Measure[N], ComputeAggregation) {
return Builder[N]{
Temporality: metricdata.DeltaTemporality,
}.ExponentialBucketHistogram(cfg, false)
Expand Down Expand Up @@ -804,7 +804,7 @@ func testExponentialHistogramAggregation[N int64 | float64](t *testing.T) {
},
{
name: "Cumulative Multiple ",
inOut: func() (Measure[N], ComputeAggregation) {
build: func() (Measure[N], ComputeAggregation) {
return Builder[N]{
Temporality: metricdata.CumulativeTemporality,
}.ExponentialBucketHistogram(cfg, false)
Expand Down Expand Up @@ -837,7 +837,7 @@ func testExponentialHistogramAggregation[N int64 | float64](t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
restore := withHandler(t)
defer restore()
in, out := tt.inOut()
in, out := tt.build()
ctx := context.Background()

var got metricdata.Aggregation
Expand Down

0 comments on commit e626be7

Please sign in to comment.