summaryrefslogtreecommitdiff
path: root/jstests/core/geo_s2dupe_points.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_s2dupe_points.js')
-rw-r--r--jstests/core/geo_s2dupe_points.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/geo_s2dupe_points.js b/jstests/core/geo_s2dupe_points.js
index 8dd6e804c78..5b9a30e61c5 100644
--- a/jstests/core/geo_s2dupe_points.js
+++ b/jstests/core/geo_s2dupe_points.js
@@ -2,9 +2,9 @@
// s2 rejects shapes with duplicate adjacent points as invalid, but they are
// valid in GeoJSON. We store the duplicates, but internally remove them
// before indexing or querying.
-t = db.geo_s2dupe_points
-t.drop()
-t.ensureIndex({geo: "2dsphere"})
+t = db.geo_s2dupe_points;
+t.drop();
+t.ensureIndex({geo: "2dsphere"});
function testDuplicates(shapeName, shapeWithDupes, shapeWithoutDupes) {
// insert a doc with dupes