summaryrefslogtreecommitdiff
path: root/jstests/core/geo_s2polywithholes.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_s2polywithholes.js')
-rw-r--r--jstests/core/geo_s2polywithholes.js15
1 files changed, 3 insertions, 12 deletions
diff --git a/jstests/core/geo_s2polywithholes.js b/jstests/core/geo_s2polywithholes.js
index 6ace711c718..80f7b0556c4 100644
--- a/jstests/core/geo_s2polywithholes.js
+++ b/jstests/core/geo_s2polywithholes.js
@@ -2,18 +2,9 @@ var t = db.geo_s2weirdpolys;
t.drop();
t.ensureIndex({geo: "2dsphere"});
-var centerPoint = {
- "type": "Point",
- "coordinates": [0.5, 0.5]
-};
-var edgePoint = {
- "type": "Point",
- "coordinates": [0, 0.5]
-};
-var cornerPoint = {
- "type": "Point",
- "coordinates": [0, 0]
-};
+var centerPoint = {"type": "Point", "coordinates": [0.5, 0.5]};
+var edgePoint = {"type": "Point", "coordinates": [0, 0.5]};
+var cornerPoint = {"type": "Point", "coordinates": [0, 0]};
t.insert({geo: centerPoint});
t.insert({geo: edgePoint});