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/index_stats.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/index_stats.js')
-rw-r--r-- | jstests/core/index_stats.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/core/index_stats.js b/jstests/core/index_stats.js index 8d2f9fd4d60..fc4aca2a77f 100644 --- a/jstests/core/index_stats.js +++ b/jstests/core/index_stats.js @@ -18,7 +18,7 @@ } return undefined; - } + }; var getIndexKey = function(indexName) { var cursor = col.aggregate([{$indexStats: {}}]); @@ -31,7 +31,7 @@ } return undefined; - } + }; var getIndexNamesForWinningPlan = function(explain) { var indexNameList = []; @@ -41,7 +41,7 @@ } return indexNameList; - } + }; assert.writeOK(col.insert({a: 1, b: 1, c: 1})); assert.writeOK(col.insert({a: 2, b: 2, c: 2})); @@ -206,5 +206,5 @@ // // Confirm that retrieval fails if $indexStats is not in the first pipeline position. // - assert.throws(function() { col.aggregate([{$match: {}}, {$indexStats: {}}]) }); + assert.throws(function() { col.aggregate([{$match: {}}, {$indexStats: {}}]); }); })(); |