diff options
author | Jacob Evans <jacob.evans@mongodb.com> | 2019-12-11 21:33:49 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-11 21:33:49 +0000 |
commit | 57acc8b666b8c9dfc34eaf03c226ab26ac225781 (patch) | |
tree | 1a0971f0cce77fc5178fc48952770dc164818b22 /jstests/core/collation.js | |
parent | 3da6513067131a50323f3388b8dc2918da885732 (diff) | |
download | mongo-57acc8b666b8c9dfc34eaf03c226ab26ac225781.tar.gz |
SERVER-44475 Remove Query Knob
Diffstat (limited to 'jstests/core/collation.js')
-rw-r--r-- | jstests/core/collation.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/jstests/core/collation.js b/jstests/core/collation.js index 51a0f5346af..f7bada2625f 100644 --- a/jstests/core/collation.js +++ b/jstests/core/collation.js @@ -957,20 +957,6 @@ assert.eq(null, // Collation tests for mapReduce. // -// mapReduce should return "collection doesn't exist" error when collation specified and -// collection does not exist. -coll.drop(); -assert.throws(function() { - coll.mapReduce( - function() { - emit(this.str, 1); - }, - function(key, values) { - return Array.sum(values); - }, - {out: {inline: 1}, collation: {locale: "fr"}}); -}); - // mapReduce should return correct results when collation specified and no indexes exist. coll.drop(); assert.commandWorked(coll.insert({_id: 1, str: "foo"})); |