summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/validate_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/dbtests/validate_tests.cpp')
-rw-r--r--src/mongo/dbtests/validate_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/validate_tests.cpp b/src/mongo/dbtests/validate_tests.cpp
index 189ff9e788d..c5e9d4b149a 100644
--- a/src/mongo/dbtests/validate_tests.cpp
+++ b/src/mongo/dbtests/validate_tests.cpp
@@ -706,7 +706,7 @@ public:
<< "partialFilterExpression"
<< BSON("a" << BSON("$eq" << 2))))
.transitional_ignore(),
- UserException);
+ AssertionException);
// Create a partial geo index that does not index the document.
auto status = dbtests::createIndexFromSpec(&_opCtx,