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:
parent
f72be5279f
commit
7f6d4af088
@ -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 ) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user