summaryrefslogtreecommitdiff
path: root/jstests/aggregation/expressions/switch.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/expressions/switch.js')
-rw-r--r--jstests/aggregation/expressions/switch.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/aggregation/expressions/switch.js b/jstests/aggregation/expressions/switch.js
index 9a6dbbb529d..64cd9e1db2f 100644
--- a/jstests/aggregation/expressions/switch.js
+++ b/jstests/aggregation/expressions/switch.js
@@ -99,8 +99,7 @@
pipeline = {
"$project": {
"_id": 0,
- "output":
- {"$switch": {"branches": [{"case": true, "then": null}], "default": false}}
+ "output": {"$switch": {"branches": [{"case": true, "then": null}], "default": false}}
}
};
res = coll.aggregate(pipeline).toArray();
@@ -125,8 +124,7 @@
pipeline = {
"$project": {
"_id": 0,
- "output":
- {"$switch": {"branches": [{"case": null, "then": false}], "default": null}}
+ "output": {"$switch": {"branches": [{"case": null, "then": false}], "default": null}}
}
};
res = coll.aggregate(pipeline).toArray();