summaryrefslogtreecommitdiff
path: root/jstests/core/fts_querylang.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/fts_querylang.js')
-rw-r--r--jstests/core/fts_querylang.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/fts_querylang.js b/jstests/core/fts_querylang.js
index a80258940ba..87a5e1d760b 100644
--- a/jstests/core/fts_querylang.js
+++ b/jstests/core/fts_querylang.js
@@ -87,5 +87,5 @@ assert.commandFailedWithCode(
assert.throws(function() {
coll.find({$nor: [{$text: {$search: 'a'}}]}).itcount();
}),
- ErrorCodes.BadValue);
+ ErrorCodes.NoQueryExecutionPlans);
}());