From d3d978a60187894e6f148ea35a2c7ba2ab6c0345 Mon Sep 17 00:00:00 2001 From: Eliot Horowitz Date: Mon, 26 Jul 2010 17:03:14 -0400 Subject: [PATCH] remove assert that isn't always valid --- dbtests/jsobjtests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()); } } };