diff options
Diffstat (limited to 'jstests/aggregation/accumulators/internal_js_reduce.js')
-rw-r--r-- | jstests/aggregation/accumulators/internal_js_reduce.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/accumulators/internal_js_reduce.js b/jstests/aggregation/accumulators/internal_js_reduce.js index b315adacf70..ae470b0950f 100644 --- a/jstests/aggregation/accumulators/internal_js_reduce.js +++ b/jstests/aggregation/accumulators/internal_js_reduce.js @@ -43,7 +43,7 @@ const expectedResults = [ ]; let res = assert.commandWorked(db.runCommand(command)); -assert(resultsEq(res.cursor.firstBatch, expectedResults), res.cursor); +assert(resultsEq(res.cursor.firstBatch, expectedResults, res.cursor)); // // Test that the reduce function also accepts a string argument. |