diff options
author | Carly Robison <crobison@caltech.edu> | 2016-08-11 12:21:01 -0400 |
---|---|---|
committer | Carly Robison <crobison@caltech.edu> | 2016-08-11 12:23:26 -0400 |
commit | 4fc451a03f06b696ec563144385aabe2d3d619cf (patch) | |
tree | f10a020bf8ce3f7d4b50b455fdeb4f9f9aee3c9f /src/mongo/db/pipeline/document_source_test.cpp | |
parent | b53a93270c8ea8ccc9f43a0cf0592353b0edd012 (diff) | |
download | mongo-4fc451a03f06b696ec563144385aabe2d3d619cf.tar.gz |
SERVER-5781 fixed unittest error code for addFields
Diffstat (limited to 'src/mongo/db/pipeline/document_source_test.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_source_test.cpp b/src/mongo/db/pipeline/document_source_test.cpp index d52eb018e7b..4b9e1bcf6ab 100644 --- a/src/mongo/db/pipeline/document_source_test.cpp +++ b/src/mongo/db/pipeline/document_source_test.cpp @@ -4822,7 +4822,7 @@ TEST_F(AddFieldsTest, ShouldErrorOnNonObjectSpec) { << "foo"); BSONElement specElement = spec.firstElement(); ASSERT_THROWS_CODE( - DocumentSourceAddFields::createFromBson(specElement, ctx()), UserException, 40269); + DocumentSourceAddFields::createFromBson(specElement, ctx()), UserException, 40272); } // Verify that mutiple documents can be processed in a row with the addFields stage. |