Skip to content

Commit 5634570

Browse files
committed
Fix test calling List.tail()
List.tail is not the same as List.tail() in Groovy JAVA-3742
1 parent 2c7dc57 commit 5634570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver-core/src/test/functional/com/mongodb/operation/ChangeStreamOperationSpecification.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ class ChangeStreamOperationSpecification extends OperationFunctionalSpecificatio
525525

526526
operation.startAtOperationTime(result.last().getTimestamp('clusterTime'))
527527
cursor = execute(operation, async)
528-
result = nextAndClean(cursor, async, expected.tail.size())
528+
result = nextAndClean(cursor, async, expected.tail().size())
529529

530530
then:
531531
result == expected.tail()

0 commit comments

Comments
 (0)