summaryrefslogtreecommitdiff
path: root/jstests/readonly/aggregate.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/readonly/aggregate.js')
-rw-r--r--jstests/readonly/aggregate.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/readonly/aggregate.js b/jstests/readonly/aggregate.js
index 21fc050b4f8..4bd20c4c2ec 100644
--- a/jstests/readonly/aggregate.js
+++ b/jstests/readonly/aggregate.js
@@ -73,8 +73,8 @@ runReadOnlyTest(function() {
{$limit: 2},
];
- assert.docEq(readableCollection.aggregate(mostAwardsPipeline).toArray(),
- [{_id: "Spotlight", count: 3}, {_id: "The Revenant", count: 3}]);
+ assert.docEq([{_id: "Spotlight", count: 3}, {_id: "The Revenant", count: 3}],
+ readableCollection.aggregate(mostAwardsPipeline).toArray());
}
};
}());