diff options
Diffstat (limited to 'jstests/core/sortg.js')
-rw-r--r-- | jstests/core/sortg.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/sortg.js b/jstests/core/sortg.js index 64edbce53d0..bdf44f4db7b 100644 --- a/jstests/core/sortg.js +++ b/jstests/core/sortg.js @@ -47,9 +47,9 @@ noMemoryException({$natural: 1}); assert.eq(1, t.getIndexes().length); -t.ensureIndex({a: 1}); -t.ensureIndex({b: 1}); -t.ensureIndex({c: 1}); +t.createIndex({a: 1}); +t.createIndex({b: 1}); +t.createIndex({c: 1}); assert.eq(4, t.getIndexes().length); |