diff options
Diffstat (limited to 'jstests/core/geo_s2edgecases.js')
-rw-r--r-- | jstests/core/geo_s2edgecases.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_s2edgecases.js b/jstests/core/geo_s2edgecases.js index 6e4633f58c8..3dabfdf0bcb 100644 --- a/jstests/core/geo_s2edgecases.js +++ b/jstests/core/geo_s2edgecases.js @@ -51,7 +51,7 @@ penguin2 = { }; t.insert({geo: penguin2}); -t.createIndex({geo: "2dsphere", nonGeo: 1}); +t.ensureIndex({geo: "2dsphere", nonGeo: 1}); res = t.find({"geo": {"$geoIntersects": {"$geometry": roundworldpoint}}}); assert.eq(res.count(), 2); |