Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19184

clang-format does odd things with BSON doc

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build
    • Labels:
    • Operating System:
      ALL
    • Sprint:
      Platform 6 07/17/15

      Description

      Insists on reverting this:

      diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp
      index aae1056..9a4a0e0 100644
      --- a/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp
      +++ b/src/mongo/db/storage/wiredtiger/wiredtiger_record_store_test.cpp
      @@ -541,8 +541,7 @@ TEST(WiredTigerRecordStoreTest, OplogHack) {
                       rs->insertRecord(opCtx.get(), obj.objdata(), obj.objsize(), false).getStatus(),
                       ErrorCodes::BadValue);
       
      -            obj = BSON("ts"
      -                       << "not a Timestamp");
      +            obj = BSON("ts" << "not a Timestamp");
                   ASSERT_EQ(
                       rs->insertRecord(opCtx.get(), obj.objdata(), obj.objsize(), false).getStatus(),
                       ErrorCodes::BadValue);
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: