Eliminate conversion from tests too

This commit is contained in:
Alberto Lerner
2010-07-18 15:39:18 -04:00
parent 6f728ae260
commit 970ef45329
2 changed files with 2 additions and 2 deletions

View File

@@ -632,7 +632,7 @@ namespace JSTests {
private:
void check( const BSONObj &one, const BSONObj &two ) {
if ( one.woCompare( two ) != 0 ) {
static string fail = string( "Assertion failure expected " ) + string( one ) + ", got " + string( two );
static string fail = string( "Assertion failure expected " ) + one.toString() + ", got " + two.toString();
FAIL( fail.c_str() );
}
}