diff options
Diffstat (limited to 'jstests/core/regex6.js')
-rw-r--r-- | jstests/core/regex6.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/regex6.js b/jstests/core/regex6.js index 7af6c7d8400..f21152d8c55 100644 --- a/jstests/core/regex6.js +++ b/jstests/core/regex6.js @@ -14,7 +14,7 @@ t.save({name: "bob"}); t.save({name: "aaron"}); t.save({name: "[with]some?symbols"}); -t.ensureIndex({name: 1}); +t.createIndex({name: 1}); assert.eq(0, t.find({name: /^\//}).count(), "index count"); assert.eq( |