summaryrefslogtreecommitdiff
path: root/jstests/core/geo_array1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/geo_array1.js')
-rw-r--r--jstests/core/geo_array1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/geo_array1.js b/jstests/core/geo_array1.js
index 6066ed1dc6f..08b6060f3cc 100644
--- a/jstests/core/geo_array1.js
+++ b/jstests/core/geo_array1.js
@@ -21,7 +21,7 @@ function test(index) {
}
if (index) {
- t.createIndex({loc: "2d"});
+ t.ensureIndex({loc: "2d"});
}
// Pull them back