summaryrefslogtreecommitdiff
path: root/jstests/core/explain_distinct.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-03-17 14:41:31 -0400
committerMike Grundy <michael.grundy@10gen.com>2016-03-18 17:10:31 -0400
commit1be713cebbb9411d2977ec9996931a4508252af0 (patch)
treea199db2a273ebb5ca4289158ee5f63066cb3926a /jstests/core/explain_distinct.js
parentd82956a6fe2e7d5dd6216e66e95900d73dbf2e0c (diff)
downloadmongo-1be713cebbb9411d2977ec9996931a4508252af0.tar.gz
SERVER-23067 Final round of JS linting and formatting
Diffstat (limited to 'jstests/core/explain_distinct.js')
-rw-r--r--jstests/core/explain_distinct.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/core/explain_distinct.js b/jstests/core/explain_distinct.js
index 37d5a485516..bc5b3635c95 100644
--- a/jstests/core/explain_distinct.js
+++ b/jstests/core/explain_distinct.js
@@ -35,10 +35,10 @@
assert.writeOK(coll.insert({a: 2, c: 1}));
}
- assert.commandFailed(runDistinctExplain(coll, {}, {})); // Bad keyString.
- assert.commandFailed(runDistinctExplain(coll, 'a', 'a')); // Bad query.
- assert.commandFailed(runDistinctExplain(coll, 'b', {$not: 1})); // Bad query.
- assert.commandFailed(runDistinctExplain(coll, 'a', {$not: 1})); // Bad query.
+ assert.commandFailed(runDistinctExplain(coll, {}, {})); // Bad keyString.
+ assert.commandFailed(runDistinctExplain(coll, 'a', 'a')); // Bad query.
+ assert.commandFailed(runDistinctExplain(coll, 'b', {$not: 1})); // Bad query.
+ assert.commandFailed(runDistinctExplain(coll, 'a', {$not: 1})); // Bad query.
assert.commandFailed(runDistinctExplain(coll, '_id', {$not: 1})); // Bad query.
// Ensure that server accepts a distinct command with no 'query' field.