Skip to content

Commit

Permalink
use assert.greater
Browse files Browse the repository at this point in the history
  • Loading branch information
aishyandapalli committed Oct 31, 2023
1 parent aa9686c commit 8969b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connector/spanmetricsconnector/connector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1342,7 +1342,7 @@ func TestExemplarsForSumMetrics(t *testing.T) {
dps := metric.Sum().DataPoints()
for dpi := 0; dpi < dps.Len(); dpi++ {
dp := dps.At(dpi)
assert.True(t, dp.Exemplars().Len() > 0)
assert.Greater(t, dp.Exemplars().Len(), 0)
}
}
}
Expand Down

0 comments on commit 8969b1d

Please sign in to comment.