diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_source_unwind_test.cpp')
| -rw-r--r-- | src/mongo/db/pipeline/document_source_unwind_test.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mongo/db/pipeline/document_source_unwind_test.cpp b/src/mongo/db/pipeline/document_source_unwind_test.cpp index 3c4b4fcfd68..aa8a550ec06 100644 --- a/src/mongo/db/pipeline/document_source_unwind_test.cpp +++ b/src/mongo/db/pipeline/document_source_unwind_test.cpp @@ -816,26 +816,6 @@ TEST_F(UnwindStageTest, ShouldRejectUnrecognizedOption) { 28811); } -TEST_F(UnwindStageTest, Redaction) { - auto spec = fromjson(R"({ - $unwind: { - path: "$foo.bar", - includeArrayIndex: "foo.baz", - preserveNullAndEmptyArrays: true - } - })"); - auto docSource = DocumentSourceUnwind::createFromBson(spec.firstElement(), getExpCtx()); - ASSERT_BSONOBJ_EQ_AUTO( // NOLINT - R"({ - "$unwind": { - "path": "$HASH<foo>.HASH<bar>", - "preserveNullAndEmptyArrays": "?bool", - "includeArrayIndex": "HASH<foo>.HASH<baz>" - } - })", - redact(*docSource)); -} - class All : public OldStyleSuiteSpecification { public: All() : OldStyleSuiteSpecification("DocumentSourceUnwindTests") {} |
