diff --git a/dbtests/jsobjtests.cpp b/dbtests/jsobjtests.cpp index 8f8828e2aba..16a77d5dc7b 100644 --- a/dbtests/jsobjtests.cpp +++ b/dbtests/jsobjtests.cpp @@ -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()); } } };