From 8969b1d3f8b103356dd44d3e80ff104d3f2babb9 Mon Sep 17 00:00:00 2001
From: ayandapalli <ayandapalli@ebay.com>
Date: Mon, 30 Oct 2023 09:46:26 -0700
Subject: [PATCH] use assert.greater

---
 connector/spanmetricsconnector/connector_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/connector/spanmetricsconnector/connector_test.go b/connector/spanmetricsconnector/connector_test.go
index c4c971f2adc1..7d75015a07ff 100644
--- a/connector/spanmetricsconnector/connector_test.go
+++ b/connector/spanmetricsconnector/connector_test.go
@@ -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)
 					}
 				}
 			}