summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/rewrite_expr_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/matcher/rewrite_expr_test.cpp')
-rw-r--r--src/mongo/db/matcher/rewrite_expr_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/rewrite_expr_test.cpp b/src/mongo/db/matcher/rewrite_expr_test.cpp
index c4f1a4b7619..948add02c26 100644
--- a/src/mongo/db/matcher/rewrite_expr_test.cpp
+++ b/src/mongo/db/matcher/rewrite_expr_test.cpp
@@ -57,7 +57,7 @@ void testExprRewrite(BSONObj expr, BSONObj expectedMatch) {
if (!expectedMatch.isEmpty()) {
ASSERT(result.matchExpression());
BSONObjBuilder bob;
- result.matchExpression()->serialize(&bob, {});
+ result.matchExpression()->serialize(&bob, true);
ASSERT_BSONOBJ_EQ(expectedMatch, bob.obj());
} else {
ASSERT_FALSE(result.matchExpression());