Skip to content

Commit 0ddff07

Browse files
Fix require.Positive assertion for span links
Signed-off-by: Soumya Raikwar <[email protected]>
1 parent 54b1bbc commit 0ddff07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/storage/integration/integration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ func (s *StorageIntegration) testOTLPSpanLinks(t *testing.T) {
707707

708708
expectedSpan := expectedTraces.ResourceSpans().At(0).ScopeSpans().At(0).Spans().At(0)
709709
expectedLinkCount := expectedSpan.Links().Len()
710-
require.Positive(t, expectedLinkCount, 0, "Fixture should have span links")
710+
require.Positive(t, expectedLinkCount, "Fixture should have span links")
711711

712712
s.writeTrace(t, expectedTraces)
713713

0 commit comments

Comments
 (0)