summaryrefslogtreecommitdiff
path: root/dbtests
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-04-24 18:19:40 -0400
committerAaron <aaron@10gen.com>2009-04-24 18:19:40 -0400
commit7f6d4af0882c46704fb8f9e7cb64f25fc15cb903 (patch)
tree8129a6ca5fd9ea1a4813c1820ee221ed7e055cb0 /dbtests
parentf72be5279f15ff7820ef4c8c330fe233be3cf0ac (diff)
downloadmongo-7f6d4af0882c46704fb8f9e7cb64f25fc15cb903.tar.gz
update test MINOR
Diffstat (limited to 'dbtests')
-rw-r--r--dbtests/queryoptimizertests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/queryoptimizertests.cpp b/dbtests/queryoptimizertests.cpp
index 773a9a8a589..8c666dbcfe5 100644
--- a/dbtests/queryoptimizertests.cpp
+++ b/dbtests/queryoptimizertests.cpp
@@ -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 ) );
}