summaryrefslogtreecommitdiff
path: root/dbtests/jstests.cpp
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2010-07-18 15:39:18 -0400
committerAlberto Lerner <alerner@10gen.com>2010-07-18 15:39:18 -0400
commit970ef45329bcfc2fa8ebd8b00ef0dfd8bd00244c (patch)
tree438853232eab3255e7449c7cd03a25175e8107ce /dbtests/jstests.cpp
parent6f728ae260ecc6f2d923ffbe2fea9bdc90c4287b (diff)
downloadmongo-970ef45329bcfc2fa8ebd8b00ef0dfd8bd00244c.tar.gz
Eliminate conversion from tests too
Diffstat (limited to 'dbtests/jstests.cpp')
-rw-r--r--dbtests/jstests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/jstests.cpp b/dbtests/jstests.cpp
index 2749abf70ed..81b9673daad 100644
--- a/dbtests/jstests.cpp
+++ b/dbtests/jstests.cpp
@@ -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() );
}
}