summaryrefslogtreecommitdiff
path: root/src/mongo/db/geo
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-08-10 15:52:33 -0400
committerMathias Stearn <mathias@10gen.com>2017-08-16 16:28:02 -0400
commit347935f7a5d0452146b1a73ad7ef9e249eaf1fb5 (patch)
tree00b322f5adcf3eb9c2624747a6b5b2179e440052 /src/mongo/db/geo
parentcdf7aacb213c99d3ce620761ff46b030bbd7732d (diff)
downloadmongo-347935f7a5d0452146b1a73ad7ef9e249eaf1fb5.tar.gz
SERVER-30580 Eliminate UserException and MsgAssertionException types
All users were converted to just use AssertionException.
Diffstat (limited to 'src/mongo/db/geo')
-rw-r--r--src/mongo/db/geo/hash_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/geo/hash_test.cpp b/src/mongo/db/geo/hash_test.cpp
index 23aed0a6d93..8a355d095d4 100644
--- a/src/mongo/db/geo/hash_test.cpp
+++ b/src/mongo/db/geo/hash_test.cpp
@@ -121,12 +121,12 @@ static GeoHash makeHash(const string& a) {
TEST(GeoHash, MakeTooLongHash) {
string a = makeRandomBitString(100);
- ASSERT_THROWS(makeHash(a), mongo::UserException);
+ ASSERT_THROWS(makeHash(a), mongo::AssertionException);
}
TEST(GeoHash, MakeOddHash) {
string a = makeRandomBitString(13);
- ASSERT_THROWS(makeHash(a), mongo::UserException);
+ ASSERT_THROWS(makeHash(a), mongo::AssertionException);
}
TEST(GeoHash, UnhashFastMatchesUnhashSlow) {