summaryrefslogtreecommitdiff
path: root/jstests/core/geo10.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo10.js')
-rw-r--r--jstests/core/geo10.js14
1 files changed, 10 insertions, 4 deletions
diff --git a/jstests/core/geo10.js b/jstests/core/geo10.js
index 10879fc5d80..640ae67e594 100644
--- a/jstests/core/geo10.js
+++ b/jstests/core/geo10.js
@@ -10,7 +10,13 @@ assert.writeOK(db.geo10.insert({c: [1, 1], t: 1}));
assert.writeOK(db.geo10.insert({c: [3600, 3600], t: 1}));
assert.writeOK(db.geo10.insert({c: [0.001, 0.001], t: 1}));
-printjson(db.geo10.find({
- c: {$within: {$box: [[0.001, 0.001], [Math.pow(2, 40) - 0.001, Math.pow(2, 40) - 0.001]]}},
- t: 1
-}).toArray());
+printjson(
+ db.geo10
+ .find({
+ c: {
+ $within:
+ {$box: [[0.001, 0.001], [Math.pow(2, 40) - 0.001, Math.pow(2, 40) - 0.001]]}
+ },
+ t: 1
+ })
+ .toArray());