File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
driver-core/src/test/functional/com/mongodb/client/model Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ class AggregatesFunctionalSpecification extends OperationFunctionalSpecification
249249
250250 helper. drop()
251251
252- (0 .. 50 ). forEach {
252+ (0 .. 50 ). each {
253253 def size = (35 + it)
254254 def manufacturer = [' Sony' , ' Samsung' , ' Vizio' ][it % 3 ]
255255 helper. insertDocuments(Document . parse(""" {
@@ -415,7 +415,7 @@ class AggregatesFunctionalSpecification extends OperationFunctionalSpecification
415415
416416 helper. drop()
417417
418- (1 .. 100 ). forEach {
418+ (1 .. 100 ). each {
419419 helper. insertDocuments(Document . parse(" {price: ${ it * 2} }" ))
420420 }
421421
@@ -450,7 +450,7 @@ class AggregatesFunctionalSpecification extends OperationFunctionalSpecification
450450 helper. drop()
451451
452452 def random = new SecureRandom ()
453- (1 .. 2000 ). forEach {
453+ (1 .. 2000 ). each {
454454 def document = new Document (' price' , random. nextDouble() * 5000D + 5.01D )
455455 helper. insertDocuments(document)
456456 }
@@ -478,7 +478,7 @@ class AggregatesFunctionalSpecification extends OperationFunctionalSpecification
478478
479479 def random = new SecureRandom ()
480480 def total = random. nextInt(2000 )
481- (1 .. total). forEach {
481+ (1 .. total). each {
482482 helper. insertDocuments(new Document (' price' , random. nextDouble() * 5000D + 5.01D ))
483483 }
484484
You can’t perform that action at this time.
0 commit comments