diff options
Diffstat (limited to 'jstests/core/count4.js')
-rw-r--r-- | jstests/core/count4.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/count4.js b/jstests/core/count4.js index ac0b3d3491f..2bb35190bd8 100644 --- a/jstests/core/count4.js +++ b/jstests/core/count4.js @@ -13,7 +13,7 @@ q = { assert.eq(50, t.find(q).count(), "A"); assert.eq(50, t.find(q).itcount(), "B"); -t.ensureIndex({x: 1}); +t.createIndex({x: 1}); assert.eq(50, t.find(q).count(), "C"); assert.eq(50, t.find(q).itcount(), "D"); |