Skip to content

Commit dd44f48

Browse files
authored
Replace all uses of 'interface{}' with 'any' in the internal/integration/ packages. (#2141)
1 parent af4285f commit dd44f48

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+321
-321
lines changed

internal/integration/clam_prose_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func clamDefaultTruncLimitOp(ctx context.Context, mt *mtest.T, coll *mongo.Colle
3636

3737
// Construct an array of docs containing the document {"x" : "y"}
3838
// repeated "documentSize" times.
39-
docs := []interface{}{}
39+
docs := []any{}
4040
for i := 0; i < documentsSize; i++ {
4141
docs = append(docs, bson.D{{"x", "y"}})
4242
}
@@ -346,7 +346,7 @@ func TestCommandLoggingAndMonitoringProse(t *testing.T) {
346346
sinkCtx, sinkCancel := context.WithDeadline(ctx, time.Now().Add(deadline))
347347
defer sinkCancel()
348348

349-
validator := func(order int, _ int, _ string, keysAndValues ...interface{}) error {
349+
validator := func(order int, _ int, _ string, keysAndValues ...any) error {
350350
// If the order exceeds the length of the
351351
// "orderedCaseValidators," then throw an error.
352352
if order >= len(tcase.orderedLogValidators) {

0 commit comments

Comments
 (0)