diff options
Diffstat (limited to 'jstests/aggregation/bugs/server11675.js')
-rw-r--r-- | jstests/aggregation/bugs/server11675.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/aggregation/bugs/server11675.js b/jstests/aggregation/bugs/server11675.js index b9214934163..72f9471bc8a 100644 --- a/jstests/aggregation/bugs/server11675.js +++ b/jstests/aggregation/bugs/server11675.js @@ -217,8 +217,6 @@ assert.eq(res[0].scoreAgain, res[0].score); assertErrorCode(coll, [{$sort: {text: 1}}, {$match: {$text: {$search: 'apple banana'}}}], 17313); // wrong $stage, but correct position -assertErrorCode(coll, - [{$project: {searchValue: {$text: {$search: 'apple banana'}}}}], - ErrorCodes.InvalidPipelineOperator); +assertErrorCode(coll, [{$project: {searchValue: {$text: {$search: 'apple banana'}}}}], 31325); assertErrorCode(coll, [{$sort: {$text: {$search: 'apple banana'}}}], 17312); })(); |