diff options
Diffstat (limited to 'jstests/core/apitest_dbcollection.js')
-rw-r--r-- | jstests/core/apitest_dbcollection.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/apitest_dbcollection.js b/jstests/core/apitest_dbcollection.js index ac30128b90e..6b90d4de6a9 100644 --- a/jstests/core/apitest_dbcollection.js +++ b/jstests/core/apitest_dbcollection.js @@ -224,7 +224,7 @@ assert.eq(0, db.getCollection("test_db").getIndexes().length, "24"); // Cannot specify both indexDetailsKey and indexDetailsName. var error = assert.throws(function() { t.stats({indexDetails: true, indexDetailsKey: indexKey, indexDetailsName: indexName}); - }, null, 'indexDetailsKey and indexDetailsName cannot be used at the same time'); + }, [], 'indexDetailsKey and indexDetailsName cannot be used at the same time'); assert.eq(Error, error.constructor, 'db.collection.stats() failed when both indexDetailsKey and indexDetailsName ' + |