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