summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/query_planner_array_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/query_planner_array_test.cpp')
-rw-r--r--src/mongo/db/query/query_planner_array_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/query/query_planner_array_test.cpp b/src/mongo/db/query/query_planner_array_test.cpp
index ff39e98c3d0..19dfc99dbcd 100644
--- a/src/mongo/db/query/query_planner_array_test.cpp
+++ b/src/mongo/db/query/query_planner_array_test.cpp
@@ -2110,13 +2110,13 @@ TEST_F(QueryPlannerTest, CanHoistNegatedPredFromElemMatchIntoSiblingOrWithMultik
"{fetch: {filter: {arr: {$elemMatch: {a: {$ne: 1}, b: {$in: [2, 3]}}}},"
"node: {"
" or: {nodes: ["
- " {fetch: {filter: {'arr.a': {$ne: 1}},"
+ " {fetch: {filter: {a: {$ne: 1}},"
" node: {ixscan: {pattern: {'arr.a': 1, 'arr.b': 1, c: 1, d: 1},"
" bounds: {'arr.a': [['MinKey', 1, true, false], [1, 'MaxKey', false, true]],"
" 'arr.b': [[2, 2, true, true], [3, 3, true, true]],"
" c: [[4, 4, true, true]],"
" d: [[5, 5, true, true]]}}}}},"
- " {fetch: {filter: {'arr.a': {$ne: 1}},"
+ " {fetch: {filter: {a: {$ne: 1}},"
" node: {ixscan: {pattern: {'arr.a': 1, 'arr.b': 1, c: 1, d: 1},"
" bounds: {'arr.a': [['MinKey', 1, true, false],[1, 'MaxKey', false, true]],"
" 'arr.b': [[2, 2, true, true], [3, 3, true, true]],"