Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
islamaliev committed Jun 19, 2023
1 parent 92b90db commit f35622d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/test_case.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ type GetIndexes struct {

// The collection for which this indexes should be retrieved.
CollectionID int

// The expected indexes to be returned.
ExpectedIndexes []client.IndexDescription

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/utils2.go
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ func assertIndexesEqual(expectedIndex, actualIndex client.IndexDescription,
}
return names
}

require.ElementsMatch(t, toNames(expectedIndex.Fields), toNames(actualIndex.Fields), testDescription)

toMap := func(fields []client.IndexedFieldDescription) map[string]client.IndexedFieldDescription {
Expand Down

0 comments on commit f35622d

Please sign in to comment.