summaryrefslogtreecommitdiff
path: root/jstests/core/geo_or.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_or.js')
-rw-r--r--jstests/core/geo_or.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/geo_or.js b/jstests/core/geo_or.js
index fd9b7234a21..17c7340faff 100644
--- a/jstests/core/geo_or.js
+++ b/jstests/core/geo_or.js
@@ -12,7 +12,7 @@ t.save({loc: q});
var indexname = "2dsphere";
-t.ensureIndex({loc: indexname})
+t.ensureIndex({loc: indexname});
assert.eq(1, t.find({loc: p}).itcount(), indexname);
@@ -55,7 +55,7 @@ t.dropIndexes();
var indexname = "2d";
-t.ensureIndex({loc: indexname})
+t.ensureIndex({loc: indexname});
assert.eq(2, t.find({$or: [{loc: {$geoWithin: {$centerSphere: [p, 10]}}},
{loc: {$geoWithin: {$centerSphere: [p, 10]}}}]}).itcount(),