diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-09-02 16:19:48 -0400 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2016-09-06 10:25:53 -0400 |
commit | 8f83b3e0937dc0b471c408714108ced515397e01 (patch) | |
tree | e9536ede333634163c525c13e1e7b0341888004c /src/mongo/db/dbmessage_test.cpp | |
parent | 27551f97e11e611f894fa1dfedf4d93c83962dd4 (diff) | |
download | mongo-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.cpp | 2 |
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); } |