summaryrefslogtreecommitdiff
path: root/jstests/aggregation/bugs/server6531.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/bugs/server6531.js')
-rw-r--r--jstests/aggregation/bugs/server6531.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/aggregation/bugs/server6531.js b/jstests/aggregation/bugs/server6531.js
index 7d117ce6905..7d020d79219 100644
--- a/jstests/aggregation/bugs/server6531.js
+++ b/jstests/aggregation/bugs/server6531.js
@@ -10,12 +10,8 @@ for (var x = 0; x < 10; x++) {
}
function test(variant) {
- query = {
- loc: {$within: {$center: [[5, 5], 3]}}
- };
- sort = {
- _id: 1
- };
+ query = {loc: {$within: {$center: [[5, 5], 3]}}};
+ sort = {_id: 1};
aggOut = c.aggregate({$match: query}, {$sort: sort});
cursor = c.find(query).sort(sort);