Skip to content

Commit

Permalink
fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
aishyandapalli committed Dec 5, 2023
1 parent d1c356f commit d1acd3e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions connector/spanmetricsconnector/internal/metrics/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func TestSum_AddExemplar(t *testing.T) {
}
}

func TestHistogram_AddExemplar(t *testing.T) {
func TestExplicitHistogram_AddExemplar(t *testing.T) {
maxCount := 3
tests := []struct {
name string
Expand All @@ -179,7 +179,7 @@ func TestHistogram_AddExemplar(t *testing.T) {
want: 1,
},
{
name: "explicit Histogram - With exemplars length less than configured max count",
name: "Explicit Histogram - With exemplars length less than configured max count",
input: func() explicitHistogram {
exs := pmetric.NewExemplarSlice()

Expand All @@ -195,7 +195,7 @@ func TestHistogram_AddExemplar(t *testing.T) {
want: 2,
},
{
name: "explicit Histogram - With exemplars length equal to configured max count",
name: "Explicit Histogram - With exemplars length equal to configured max count",
input: func() explicitHistogram {
exs := pmetric.NewExemplarSlice()

Expand Down Expand Up @@ -235,12 +235,12 @@ func TestExponentialHistogram_AddExemplar(t *testing.T) {
want int
}{
{
name: "Explicit Histogram - No exemplars configured",
name: "Exponential Histogram - No exemplars configured",
input: exponentialHistogram{exemplars: pmetric.NewExemplarSlice(), maxExemplarCount: &maxCount},
want: 1,
},
{
name: "exponentialHistogram - With exemplars length less than configured max count",
name: "Exponential Histogram - With exemplars length less than configured max count",
input: func() exponentialHistogram {
exs := pmetric.NewExemplarSlice()

Expand All @@ -256,7 +256,7 @@ func TestExponentialHistogram_AddExemplar(t *testing.T) {
want: 2,
},
{
name: "exponentialHistogram - With exemplars length equal to configured max count",
name: "Exponential Histogram - With exemplars length equal to configured max count",
input: func() exponentialHistogram {
exs := pmetric.NewExemplarSlice()

Expand Down

0 comments on commit d1acd3e

Please sign in to comment.