summaryrefslogtreecommitdiff
path: root/jstests/core/in3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/in3.js')
-rw-r--r--jstests/core/in3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/in3.js b/jstests/core/in3.js
index 02680642939..bd64329ded4 100644
--- a/jstests/core/in3.js
+++ b/jstests/core/in3.js
@@ -19,5 +19,5 @@ function doTest() {
}
doTest();
-t.ensureIndex({key: 1});
+t.createIndex({key: 1});
doTest();