summaryrefslogtreecommitdiff
path: root/jstests/core/date3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/date3.js')
-rw-r--r--jstests/core/date3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/date3.js b/jstests/core/date3.js
index 80279a9559c..e3eaea620ec 100644
--- a/jstests/core/date3.js
+++ b/jstests/core/date3.js
@@ -29,5 +29,5 @@ function test() {
}
test();
-t.ensureIndex({d: 1});
+t.createIndex({d: 1});
test();