summaryrefslogtreecommitdiff
path: root/jstests/aggregation/expressions/switch_errors.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/aggregation/expressions/switch_errors.js')
-rw-r--r--jstests/aggregation/expressions/switch_errors.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/jstests/aggregation/expressions/switch_errors.js b/jstests/aggregation/expressions/switch_errors.js
index c45d20f56a3..9701bc4b019 100644
--- a/jstests/aggregation/expressions/switch_errors.js
+++ b/jstests/aggregation/expressions/switch_errors.js
@@ -1,9 +1,7 @@
// SERVER-10689 introduced the $switch expression. In this file, we test the error cases of the
// expression.
-// @tags: [
-// sbe_incompatible,
-// ]
-load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
+load("jstests/aggregation/extras/utils.js"); // For assertErrorCode.
+load("jstests/libs/sbe_assert_error_override.js"); // Override error-code-checking APIs.
(function() {
"use strict";