Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Unrelated to this PR and spotted by Fred, but it wont get fixed for a while if it doesn't get snuck in here
  • Loading branch information
AndrewSisley committed Jun 28, 2024
1 parent 0015887 commit 958a33a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/results.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 958a33a

Please sign in to comment.