mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
remove assert that isn't always valid
This commit is contained in:
parent
bea4ec2483
commit
d3d978a601
@ -303,7 +303,7 @@ namespace JsobjTests {
|
||||
ASSERT(tmp.hasField("a"));
|
||||
ASSERT(!tmp.hasField("b"));
|
||||
ASSERT(tmp == BSON("a" << 1));
|
||||
|
||||
|
||||
//force a realloc
|
||||
BSONArrayBuilder arr;
|
||||
for (int i=0; i < 10000; i++){
|
||||
@ -314,7 +314,6 @@ namespace JsobjTests {
|
||||
ASSERT(obj.valid());
|
||||
ASSERT(obj.hasField("a"));
|
||||
ASSERT(obj.hasField("b"));
|
||||
ASSERT_NOT_EQUALS(obj.objdata() , tmp.objdata());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user