diff options
Diffstat (limited to 'jstests/core/in5.js')
-rw-r--r-- | jstests/core/in5.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/in5.js b/jstests/core/in5.js index 2f92b057d6c..80f37e6b473 100644 --- a/jstests/core/in5.js +++ b/jstests/core/in5.js @@ -27,7 +27,7 @@ function go(fn) { i = {}; i[fn] = 1; - t.ensureIndex(i); + t.createIndex(i); assert.eq(1, t.find(x).itcount(), "B1 - " + fn); assert.eq(1, t.find(y).itcount(), "B2 - " + fn); @@ -39,7 +39,7 @@ function go(fn) { i = {}; i[fn + ".a"] = 1; - t.ensureIndex(i); + t.createIndex(i); assert.eq(2, t.getIndexes().length, "T3"); assert.eq(1, t.find(x).itcount(), "C1 - " + fn); |