summaryrefslogtreecommitdiff
path: root/jstests/core/indexg.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/indexg.js')
-rw-r--r--jstests/core/indexg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/indexg.js b/jstests/core/indexg.js
index 3cafede4cff..486f4be0ebe 100644
--- a/jstests/core/indexg.js
+++ b/jstests/core/indexg.js
@@ -9,5 +9,5 @@ doit = function() {
assert.eq(1, f.count({list: {$in: [1], $not: {$in: [3]}}}));
};
doit();
-f.ensureIndex({list: 1});
+f.createIndex({list: 1});
doit(); \ No newline at end of file