summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/jsobjtests.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-19 10:57:36 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-06-20 10:56:04 -0400
commit6f6fa5a63d482b0dc117eb2ac21cf096deb5a6f3 (patch)
treeb76c2a4dfc7f45eb25dd62cb3ffe89ea448d9e0e /src/mongo/dbtests/jsobjtests.cpp
parent9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (diff)
downloadmongo-6f6fa5a63d482b0dc117eb2ac21cf096deb5a6f3.tar.gz
SERVER-18978: Clang-Format - Fix comment word wrapping indentation
Diffstat (limited to 'src/mongo/dbtests/jsobjtests.cpp')
-rw-r--r--src/mongo/dbtests/jsobjtests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/dbtests/jsobjtests.cpp b/src/mongo/dbtests/jsobjtests.cpp
index 0564d183918..6edc21ca24b 100644
--- a/src/mongo/dbtests/jsobjtests.cpp
+++ b/src/mongo/dbtests/jsobjtests.cpp
@@ -189,9 +189,8 @@ void keyTest(const BSONObj& o, bool mustBeCompact = false) {
cout << r3 << endl;
}
ASSERT(ok);
- if (k.isCompactFormat() &&
- kLast
- ->isCompactFormat()) { // only check if not bson as bson woEqual is broken! (or was may2011)
+ if (k.isCompactFormat() && kLast->isCompactFormat()) {
+ // only check if not bson as bson woEqual is broken! (or was may2011)
if (k.woEqual(*kLast) != (r2 == 0)) { // check woEqual matches
cout << r2 << endl;
cout << k.toString() << endl;
@@ -909,7 +908,8 @@ public:
ASSERT_EQUALS("123.4567891234568", x["d"].toString(false, true));
ASSERT_EQUALS("123456789.1234568", x["e"].toString(false, true));
- // ASSERT_EQUALS( "1.234567891234568e+21" , x["f"].toString( false , true ) ); // windows and *nix are different - TODO, work around for test or not bother?
+ // windows and *nix are different - TODO, work around for test or not bother?
+ // ASSERT_EQUALS( "1.234567891234568e+21" , x["f"].toString( false , true ) );
ASSERT_EQUALS("-123.456", x["g"].toString(false, true));