summaryrefslogtreecommitdiff
path: root/jstests/core/update_arraymatch7.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/update_arraymatch7.js')
-rw-r--r--jstests/core/update_arraymatch7.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/update_arraymatch7.js b/jstests/core/update_arraymatch7.js
index cded4ba56f4..4ee9ed26f7c 100644
--- a/jstests/core/update_arraymatch7.js
+++ b/jstests/core/update_arraymatch7.js
@@ -20,5 +20,5 @@ function testPositionalInc() {
testPositionalInc();
// Now check with a non multikey index.
-t.createIndex({'a.b': 1});
+t.ensureIndex({'a.b': 1});
testPositionalInc();