summaryrefslogtreecommitdiff
path: root/jstests/aggregation/bugs/server6531.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/bugs/server6531.js')
-rw-r--r--jstests/aggregation/bugs/server6531.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/aggregation/bugs/server6531.js b/jstests/aggregation/bugs/server6531.js
index cd2faae0eb7..46f09a0f379 100644
--- a/jstests/aggregation/bugs/server6531.js
+++ b/jstests/aggregation/bugs/server6531.js
@@ -23,9 +23,9 @@ function test(variant) {
test("no index");
-c.ensureIndex({loc: "2d"});
+c.createIndex({loc: "2d"});
test("2d index");
c.dropIndex({loc: "2d"});
-c.ensureIndex({loc: "2dsphere"});
+c.createIndex({loc: "2dsphere"});
test("2dsphere index");