diff options
author | Svilen Mihaylov <svilen.mihaylov@mongodb.com> | 2020-02-18 17:27:16 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-20 00:27:50 +0000 |
commit | 03792669b22c6d0e2785a823e5081a6125c2d37c (patch) | |
tree | ebe9584edf68e4d9d4d40b9cb8caca19efff04f1 /src/mongo/db/pipeline/document_source_bucket_auto_test.cpp | |
parent | beaac1def11ef1a70ed940567aa8f444a1b95d3e (diff) | |
download | mongo-03792669b22c6d0e2785a823e5081a6125c2d37c.tar.gz |
SERVER-45216 Rename Document::size() to Document::computeSize
Diffstat (limited to 'src/mongo/db/pipeline/document_source_bucket_auto_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_bucket_auto_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp b/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp index abe9633b5aa..b7b50b6527d 100644 --- a/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp +++ b/src/mongo/db/pipeline/document_source_bucket_auto_test.cpp @@ -515,7 +515,7 @@ TEST_F(BucketAutoTests, ShouldBeAbleToReParseSerializedStage) { ASSERT_EQUALS(serialization.size(), 1UL); ASSERT_EQUALS(serialization[0].getType(), BSONType::Object); - ASSERT_EQUALS(serialization[0].getDocument().size(), 1UL); + ASSERT_EQUALS(serialization[0].getDocument().computeSize(), 1ULL); ASSERT_EQUALS(serialization[0].getDocument()["$bucketAuto"].getType(), BSONType::Object); auto serializedBson = serialization[0].getDocument().toBson(); |