summaryrefslogtreecommitdiff
path: root/jstests/core/or2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/or2.js')
-rw-r--r--jstests/core/or2.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/core/or2.js b/jstests/core/or2.js
index 5b520197eba..508b3294931 100644
--- a/jstests/core/or2.js
+++ b/jstests/core/or2.js
@@ -72,17 +72,17 @@ doTest = function(index) {
doTest(false);
-t.ensureIndex({x: 1});
+t.createIndex({x: 1});
doTest();
t.drop();
-t.ensureIndex({x: 1, a: 1});
+t.createIndex({x: 1, a: 1});
doTest();
t.drop();
-t.ensureIndex({x: 1, b: 1});
+t.createIndex({x: 1, b: 1});
doTest();
t.drop();
-t.ensureIndex({x: 1, a: 1, b: 1});
+t.createIndex({x: 1, a: 1, b: 1});
doTest();