Skip to content

Commit b5a9fb0

Browse files
authored
fix lint: use assert.Positive instead of assert.Greater with 0 (#23910)
1 parent 596a23f commit b5a9fb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/workflow/error_aggregation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func TestErrorCollectorAdd_Aggregate(t *testing.T) {
6262
// Add errors should not return them
6363
result := collector.Add(err1)
6464
require.NoError(t, result, "Should not return error in aggregate mode")
65-
assert.Greater(t, collector.Count(), 0, "Should have errors")
65+
assert.Positive(t, collector.Count(), "Should have errors")
6666
assert.Equal(t, 1, collector.Count(), "Should have 1 error")
6767

6868
result = collector.Add(err2)

0 commit comments

Comments
 (0)