diff --git a/tests/integration/milestone_test.go b/tests/integration/milestone_test.go index 8e07a0232b..6bcf7d7128 100644 --- a/tests/integration/milestone_test.go +++ b/tests/integration/milestone_test.go @@ -38,5 +38,5 @@ func TestMilestonesCount(t *testing.T) { closedCount := htmlDoc.doc.Find("a[data-test-name='closed-issue-count']").Text() assert.Contains(t, closedCount, "1\u00a0Closed") - assert.Len(t, htmlDoc.doc.Find("a[data-test-name='closed-issue-count']").Nodes, 0) + assert.Empty(t, htmlDoc.doc.Find("a[data-test-name='closed-issue-count']").Nodes) }