diff options
author | Mike Grundy <michael.grundy@10gen.com> | 2016-02-04 12:29:01 -0500 |
---|---|---|
committer | Mike Grundy <michael.grundy@10gen.com> | 2016-02-09 13:41:02 -0500 |
commit | 3bed8596d18275d1561e4f44f1f0bd72c1e038f1 (patch) | |
tree | 788eaed3c7a692a424f080d16a8841dc8afa3c13 /jstests/core/fts_querylang.js | |
parent | 985e2a0be95709ac064c57f0a9bb385a55937285 (diff) | |
download | mongo-3bed8596d18275d1561e4f44f1f0bd72c1e038f1.tar.gz |
SERVER-22341 fix jslint errors in jstests/core with eslint --fix
Conflicts:
jstests/core/count_hint.js
Diffstat (limited to 'jstests/core/fts_querylang.js')
-rw-r--r-- | jstests/core/fts_querylang.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/fts_querylang.js b/jstests/core/fts_querylang.js index 1701273b0a0..4685b6fa550 100644 --- a/jstests/core/fts_querylang.js +++ b/jstests/core/fts_querylang.js @@ -52,7 +52,7 @@ assert.eq(results[0]._id, 1); // Test $and of basic text query with indexed expression, and bad language assert.throws(function() { t.find({$text: {$search: "content -irrelevant", $language: "spanglish"}, _id: 1}) - .itcount()}); + .itcount();}); // Test $and of basic text query with unindexed expression. results = t.find({$text: {$search: "content -irrelevant"}, @@ -70,7 +70,7 @@ cursor = t.find({$text: {$search: "contents", $language: "EN"}}); assert.eq(true, cursor.hasNext()); cursor = t.find({$text: {$search: "contents", $language: "spanglish"}}); -assert.throws(function() { cursor.next() }); +assert.throws(function() { cursor.next(); }); // TODO Test $and of basic text query with geo expression. |