summaryrefslogtreecommitdiff
path: root/jstests/aggregation/extras/debug.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/extras/debug.js')
-rw-r--r--jstests/aggregation/extras/debug.js30
1 files changed, 5 insertions, 25 deletions
diff --git a/jstests/aggregation/extras/debug.js b/jstests/aggregation/extras/debug.js
index 24402c1ca69..f2a101976de 100644
--- a/jstests/aggregation/extras/debug.js
+++ b/jstests/aggregation/extras/debug.js
@@ -1,5 +1,6 @@
function assert(b, m) {
- if (!b) alert(m);
+ if (!b)
+ alert(m);
}
function ObjectId(id) {
@@ -7,28 +8,7 @@ function ObjectId(id) {
}
var t1result = [
- {
- "_id" : ObjectId("4dc07fedd8420ab8d0d4066d"),
- "pageViews" : 5,
- "tags" : [
- "fun",
- "good"
- ]
- },
- {
- "_id" : ObjectId("4dc07fedd8420ab8d0d4066e"),
- "pageViews" : 7,
- "tags" : [
- "fun",
- "nasty"
- ]
- },
- {
- "_id" : ObjectId("4dc07fedd8420ab8d0d4066f"),
- "pageViews" : 6,
- "tags" : [
- "nasty",
- "filthy"
- ]
- }
+ {"_id": ObjectId("4dc07fedd8420ab8d0d4066d"), "pageViews": 5, "tags": ["fun", "good"]},
+ {"_id": ObjectId("4dc07fedd8420ab8d0d4066e"), "pageViews": 7, "tags": ["fun", "nasty"]},
+ {"_id": ObjectId("4dc07fedd8420ab8d0d4066f"), "pageViews": 6, "tags": ["nasty", "filthy"]}
];