summaryrefslogtreecommitdiff
path: root/jstests/core/indexb.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/indexb.js')
-rw-r--r--jstests/core/indexb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/indexb.js b/jstests/core/indexb.js
index 6890dda3cbc..59546f7fae2 100644
--- a/jstests/core/indexb.js
+++ b/jstests/core/indexb.js
@@ -10,7 +10,7 @@
t = db.indexb;
t.drop();
-t.ensureIndex({a: 1}, true);
+t.createIndex({a: 1}, true);
t.insert({a: 1});