summaryrefslogtreecommitdiff
path: root/jstests/core/sortf.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/sortf.js')
-rw-r--r--jstests/core/sortf.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/sortf.js b/jstests/core/sortf.js
index 6f34d80a59d..adb54f38b9c 100644
--- a/jstests/core/sortf.js
+++ b/jstests/core/sortf.js
@@ -9,8 +9,8 @@
t = db.jstests_sortf;
t.drop();
-t.ensureIndex({a: 1});
-t.ensureIndex({b: 1});
+t.createIndex({a: 1});
+t.createIndex({b: 1});
for (i = 0; i < 100; ++i) {
t.save({a: 0, b: 0});