diff options
Diffstat (limited to 'jstests/aggregation/bugs/server4589.js')
-rw-r--r-- | jstests/aggregation/bugs/server4589.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/aggregation/bugs/server4589.js b/jstests/aggregation/bugs/server4589.js index 11e8cad7978..c71a7d802f8 100644 --- a/jstests/aggregation/bugs/server4589.js +++ b/jstests/aggregation/bugs/server4589.js @@ -9,7 +9,7 @@ load('jstests/aggregation/extras/utils.js'); var coll = db.agg_array_elem_at_expr; coll.drop(); - assert.writeOK(coll.insert({a: [1,2,3,4,5]})); + assert.writeOK(coll.insert({a: [1, 2, 3, 4, 5]})); // Normal indexing. var pipeline = [{$project: {_id: 0, x: {$arrayElemAt: ['$a', 2]}}}]; |