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