diff options
Diffstat (limited to 'src/mongo/dbtests/counttests.cpp')
-rw-r--r-- | src/mongo/dbtests/counttests.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mongo/dbtests/counttests.cpp b/src/mongo/dbtests/counttests.cpp index 36a59a07d90..9f820418793 100644 --- a/src/mongo/dbtests/counttests.cpp +++ b/src/mongo/dbtests/counttests.cpp @@ -58,12 +58,9 @@ public: _collection = _database->createCollection(&_opCtx, nss()); IndexCatalog* indexCatalog = _collection->getIndexCatalog(); - auto indexSpec = - BSON("v" << static_cast<int>(IndexDescriptor::kLatestIndexVersion) << "ns" << ns() - << "key" - << BSON("a" << 1) - << "name" - << "a_1"); + auto indexSpec = BSON("v" << static_cast<int>(IndexDescriptor::kLatestIndexVersion) + << "ns" << ns() << "key" << BSON("a" << 1) << "name" + << "a_1"); uassertStatusOK(indexCatalog->createIndexOnEmptyCollection(&_opCtx, indexSpec)); wunit.commit(); |