From 46dfa2b0661574d4a8927bc5ddde199519c739cd Mon Sep 17 00:00:00 2001 From: Charles Sarrazin Date: Fri, 22 Dec 2017 14:16:04 +0100 Subject: [PATCH] Fixed CS issues --- .../com/mongodb/client/model/AggregatesSpecification.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver-core/src/test/unit/com/mongodb/client/model/AggregatesSpecification.groovy b/driver-core/src/test/unit/com/mongodb/client/model/AggregatesSpecification.groovy index 55647418b3f..0c35071ea8b 100644 --- a/driver-core/src/test/unit/com/mongodb/client/model/AggregatesSpecification.groovy +++ b/driver-core/src/test/unit/com/mongodb/client/model/AggregatesSpecification.groovy @@ -202,9 +202,9 @@ class AggregatesSpecification extends Specification { List pipeline = asList(match(expr(new Document('$eq', asList('x', '1'))))) toBson(lookup('from', asList(new Variable('var1', 'expression1')), pipeline, 'as')) == - parse('''{ $lookup : { from: "from", + parse('''{ $lookup : { from: "from", let: { var1: "expression1" }, - pipeline : [{ $match : { $expr: { $eq : [ "x" , "1" ]}}}], + pipeline : [{ $match : { $expr: { $eq : [ "x" , "1" ]}}}], as: "as" }}''') }