diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-07-06 18:17:39 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-07-07 00:30:17 -0400 |
commit | 95fa51a1df4e5965d467b6afa244520288fbc35b (patch) | |
tree | cb0093396105a1b771bd662c53c55709b96c8de5 /dbtests/jstests.cpp | |
parent | d62e21a084b61d1a73360eefc069bdd7857c0e88 (diff) | |
download | mongo-95fa51a1df4e5965d467b6afa244520288fbc35b.tar.gz |
git rid of "operator string"
Diffstat (limited to 'dbtests/jstests.cpp')
-rw-r--r-- | dbtests/jstests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbtests/jstests.cpp b/dbtests/jstests.cpp index 0b664f1c082..73cadf2a96a 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() ); } } |