summaryrefslogtreecommitdiff
path: root/src/mongo/bson/ugly_bson_integration_test.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-10-24 13:00:11 -0400
committerMathias Stearn <mathias@10gen.com>2017-11-02 14:25:21 -0400
commitcd26a1d5ee080f1a68b874046e5e5b3672267f69 (patch)
tree44458afc58072d531006fca961f1b0dbcb8d5442 /src/mongo/bson/ugly_bson_integration_test.cpp
parenta963b8641cf2ab2cd0ccbbde04993a8224dcf52a (diff)
downloadmongo-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.cpp2
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