Skip to content

Commit

Permalink
Fix typo in comment (#9265)
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskorn authored Sep 11, 2024
1 parent db2d4f8 commit 9a03b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/streamingpromql/aggregations/aggregations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestAggregationGroupNativeHistogramSafety(t *testing.T) {
{T: 1, H: h5}, // h5 not retained (added to h2)
{T: 2, H: nil}, // h6 is retained for T=3
{T: 3, H: nil}, // h6 is retained for this point
{T: 4, H: nil}, // h6 is retained for T=4
{T: 4, H: nil}, // h6 is retained for T=3
}

require.Equal(t, expected, series.Histograms, "all histograms retained should be nil-ed out after accumulating series")
Expand Down

0 comments on commit 9a03b76

Please sign in to comment.