diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-10-24 13:00:11 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-11-02 14:25:21 -0400 |
commit | cd26a1d5ee080f1a68b874046e5e5b3672267f69 (patch) | |
tree | 44458afc58072d531006fca961f1b0dbcb8d5442 /src/mongo/bson/ugly_bson_integration_test.cpp | |
parent | a963b8641cf2ab2cd0ccbbde04993a8224dcf52a (diff) | |
download | mongo-cd26a1d5ee080f1a68b874046e5e5b3672267f69.tar.gz |
SERVER-31629 Support putting unique codes directly into Status constructors
Diffstat (limited to 'src/mongo/bson/ugly_bson_integration_test.cpp')
-rw-r--r-- | src/mongo/bson/ugly_bson_integration_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/bson/ugly_bson_integration_test.cpp b/src/mongo/bson/ugly_bson_integration_test.cpp index a3f6bf11fdb..df2b584884a 100644 --- a/src/mongo/bson/ugly_bson_integration_test.cpp +++ b/src/mongo/bson/ugly_bson_integration_test.cpp @@ -60,7 +60,7 @@ TEST_F(UglyBSONFixture, DuplicateFields) { << BSONArray() << "documents" << BSONArray()), - ErrorCodes::Error(40413)); + ErrorCodes::duplicateCodeForTest(40413)); } } // namespace |