summaryrefslogtreecommitdiff
path: root/jstests/core/indexl.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/indexl.js')
-rw-r--r--jstests/core/indexl.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/indexl.js b/jstests/core/indexl.js
index c83638607d4..cde169eda71 100644
--- a/jstests/core/indexl.js
+++ b/jstests/core/indexl.js
@@ -23,5 +23,5 @@ function test(t) {
t.drop();
test(t);
t.drop();
-t.ensureIndex({a: 1});
+t.createIndex({a: 1});
test(t); \ No newline at end of file