summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/geo_axis_aligned.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/geo_axis_aligned.js')
-rw-r--r--jstests/noPassthroughWithMongod/geo_axis_aligned.js23
1 files changed, 11 insertions, 12 deletions
diff --git a/jstests/noPassthroughWithMongod/geo_axis_aligned.js b/jstests/noPassthroughWithMongod/geo_axis_aligned.js
index 47c0369e5e0..5e08a6c1739 100644
--- a/jstests/noPassthroughWithMongod/geo_axis_aligned.js
+++ b/jstests/noPassthroughWithMongod/geo_axis_aligned.js
@@ -98,18 +98,17 @@ for (var b = 0; b < bits.length; b++) {
assert.gte(a[k].dis, distance);
}
- r = t.find(
- {
- loc: {
- $within: {
- $box: [
- [center[j][0] - radius[i], center[j][1] - radius[i]],
- [center[j][0] + radius[i], center[j][1] + radius[i]]
- ]
- }
- }
- },
- {_id: 1});
+ r = t.find({
+ loc: {
+ $within: {
+ $box: [
+ [center[j][0] - radius[i], center[j][1] - radius[i]],
+ [center[j][0] + radius[i], center[j][1] + radius[i]]
+ ]
+ }
+ }
+ },
+ {_id: 1});
assert.eq(9, r.count());
}
}