summaryrefslogtreecommitdiff
path: root/jstests/core/geof.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /jstests/core/geof.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/core/geof.js')
-rw-r--r--jstests/core/geof.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/core/geof.js b/jstests/core/geof.js
index 1d7f13eb881..4eae803a856 100644
--- a/jstests/core/geof.js
+++ b/jstests/core/geof.js
@@ -13,9 +13,7 @@ t.insert({loc: [-0.9, 0]});
t.ensureIndex({loc: "2d"});
-t.find({loc: {$near: [0, 0]}})
- .limit(2)
- .forEach(function(o) {
- // printjson(o);
- assert.lt(Geo.distance([0, 0], o.loc), 0.95);
- });
+t.find({loc: {$near: [0, 0]}}).limit(2).forEach(function(o) {
+ // printjson(o);
+ assert.lt(Geo.distance([0, 0], o.loc), 0.95);
+});