0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

update test MINOR

This commit is contained in:
Aaron 2009-04-24 18:19:40 -04:00
parent f72be5279f
commit 7f6d4af088

View File

@ -880,7 +880,7 @@ namespace QueryOptimizerTests {
theDataFileMgr.insert( ns(), one );
BSONObj result;
ASSERT( Helpers::findOne( ns(), BSON( "a" << 1 ), result ) );
ASSERT( !Helpers::findOne( ns(), BSON( "a" << 1 ), result, true ) );
ASSERT_EXCEPTION( Helpers::findOne( ns(), BSON( "a" << 1 ), result, true ), AssertionException );
Helpers::ensureIndex( ns(), BSON( "a" << 1 ), false, "a_1" );
ASSERT( Helpers::findOne( ns(), BSON( "a" << 1 ), result, true ) );
}