summaryrefslogtreecommitdiff
path: root/jstests/aggregation/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/bugs')
-rw-r--r--jstests/aggregation/bugs/server14872.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/jstests/aggregation/bugs/server14872.js b/jstests/aggregation/bugs/server14872.js
index f3e4abf85b6..8c0751a8e23 100644
--- a/jstests/aggregation/bugs/server14872.js
+++ b/jstests/aggregation/bugs/server14872.js
@@ -23,10 +23,6 @@ assert.eq(coll.aggregate(pipeline).toArray(), [{all: [1, 2, [3], 4]}]);
pipeline = [{$project: {_id: 0, all: {$concatArrays: ['$a']}}}];
assert.eq(coll.aggregate(pipeline).toArray(), [{all: [1, 2]}]);
-// Concatenation with no arguments.
-pipeline = [{$project: {_id: 0, all: {$concatArrays: []}}}];
-assert.eq(coll.aggregate(pipeline).toArray(), [{all: []}]);
-
// Any nullish inputs will result in null.
pipeline = [{$project: {_id: 0, all: {$concatArrays: ['$a', '$e']}}}];
assert.eq(coll.aggregate(pipeline).toArray(), [{all: null}]);