diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-12-15 17:36:33 -0500 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-12-16 11:34:15 -0500 |
commit | d92892f7ad0a83252c788c08646d05ac46cfeabc (patch) | |
tree | 853582cf536d29c8245f25f510afaff6578a178b /src/mongo/db/pipeline/document_source_group_test.cpp | |
parent | eac2ee281217fc98d7aac5439c0dd28b2f782744 (diff) | |
download | mongo-d92892f7ad0a83252c788c08646d05ac46cfeabc.tar.gz |
SERVER-25992 Remove Value(const char* value) constructor
Diffstat (limited to 'src/mongo/db/pipeline/document_source_group_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_group_test.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mongo/db/pipeline/document_source_group_test.cpp b/src/mongo/db/pipeline/document_source_group_test.cpp index d0582101597..599e282e6b9 100644 --- a/src/mongo/db/pipeline/document_source_group_test.cpp +++ b/src/mongo/db/pipeline/document_source_group_test.cpp @@ -683,21 +683,21 @@ class GroupNullUndefinedIds : public CheckResultsBase { class ComplexId : public CheckResultsBase { deque<DocumentSource::GetNextResult> inputData() { return {DOC("a" - << "de" + << "de"_sd << "b" - << "ad" + << "ad"_sd << "c" - << "beef" + << "beef"_sd << "d" - << ""), + << ""_sd), DOC("a" - << "d" + << "d"_sd << "b" - << "eadbe" + << "eadbe"_sd << "c" - << "" + << ""_sd << "d" - << "ef")}; + << "ef"_sd)}; } virtual BSONObj groupSpec() { return BSON("_id" << BSON("$concat" << BSON_ARRAY("$a" @@ -932,7 +932,7 @@ public: ASSERT_TRUE(res.isAdvanced()); ASSERT_VALUE_EQ(res.getDocument().getField("_id")["sub"]["x"], Value(5)); ASSERT_VALUE_EQ(res.getDocument().getField("_id")["sub"]["y"], Value(1)); - ASSERT_VALUE_EQ(res.getDocument().getField("_id")["sub"]["z"], Value("c")); + ASSERT_VALUE_EQ(res.getDocument().getField("_id")["sub"]["z"], Value("c"_sd)); ASSERT_TRUE(group()->isStreaming()); |