summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbmessage_test.cpp
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2016-09-02 16:19:48 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2016-09-06 10:25:53 -0400
commit8f83b3e0937dc0b471c408714108ced515397e01 (patch)
treee9536ede333634163c525c13e1e7b0341888004c /src/mongo/db/dbmessage_test.cpp
parent27551f97e11e611f894fa1dfedf4d93c83962dd4 (diff)
downloadmongo-8f83b3e0937dc0b471c408714108ced515397e01.tar.gz
SERVER-23972 Disallow decimal insertion in legacy write mode when featureCompatibilityVersion is 3.2
Diffstat (limited to 'src/mongo/db/dbmessage_test.cpp')
-rw-r--r--src/mongo/db/dbmessage_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbmessage_test.cpp b/src/mongo/db/dbmessage_test.cpp
index c0d40f49bde..2afd69b06ea 100644
--- a/src/mongo/db/dbmessage_test.cpp
+++ b/src/mongo/db/dbmessage_test.cpp
@@ -135,7 +135,7 @@ TEST(DBMessage1, GoodInsert2) {
ASSERT_EQUALS(39, d1.pullInt());
BSONObj bo2 = d1.nextJsObj();
- ASSERT_THROWS(d1.nextJsObj(), MsgAssertionException);
+ ASSERT_THROWS(d1.nextJsObj(), UserException);
}