diff --git a/tests/integration/results.go b/tests/integration/results.go index 61561a48e1..755608394d 100644 --- a/tests/integration/results.go +++ b/tests/integration/results.go @@ -211,13 +211,13 @@ func assertCollectionDescriptions( if expected.Indexes != nil || len(actual.Indexes) != 0 { // Dont bother asserting this if the expected is nil and the actual is nil/empty. - // This is to say each test action from having to bother declaring an empty slice (if there are no indexes) + // This is to save each test action from having to bother declaring an empty slice (if there are no indexes) require.Equal(s.t, expected.Indexes, actual.Indexes) } if expected.Sources != nil || len(actual.Sources) != 0 { // Dont bother asserting this if the expected is nil and the actual is nil/empty. - // This is to say each test action from having to bother declaring an empty slice (if there are no sources) + // This is to save each test action from having to bother declaring an empty slice (if there are no sources) require.Equal(s.t, expected.Sources, actual.Sources) }