diff options
Diffstat (limited to 'jstests/core/or3.js')
-rw-r--r-- | jstests/core/or3.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/core/or3.js b/jstests/core/or3.js index 26628927c87..22a26d571ca 100644 --- a/jstests/core/or3.js +++ b/jstests/core/or3.js @@ -63,17 +63,17 @@ doTest = function(index) { doTest(false); -t.createIndex({x: 1}); +t.ensureIndex({x: 1}); doTest(); t.drop(); -t.createIndex({x: 1, a: 1}); +t.ensureIndex({x: 1, a: 1}); doTest(); t.drop(); -t.createIndex({x: 1, b: 1}); +t.ensureIndex({x: 1, b: 1}); doTest(); t.drop(); -t.createIndex({x: 1, a: 1, b: 1}); +t.ensureIndex({x: 1, a: 1, b: 1}); doTest(); |