diff options
Diffstat (limited to 'jstests/core/geo6.js')
-rw-r--r-- | jstests/core/geo6.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo6.js b/jstests/core/geo6.js index d6b43771b2c..0ee06508ea2 100644 --- a/jstests/core/geo6.js +++ b/jstests/core/geo6.js @@ -6,7 +6,7 @@ t = db.geo6; t.drop(); -t.ensureIndex({loc: "2d"}); +t.createIndex({loc: "2d"}); assert.eq(0, t.find().itcount(), "pre0"); assert.eq(0, t.find({loc: {$near: [50, 50]}}).itcount(), "pre1"); |