diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2016-03-09 12:17:50 -0500 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2016-03-09 12:18:14 -0500 |
commit | 4ae691e8edc87d0e3cfb633bb91c328426be007b (patch) | |
tree | 52079a593f54382ca13a2e741633eab1b6271893 /jstests/core/explain_multi_plan.js | |
parent | a025d43f3ce2efc1fb1282a718f5d286fa0a4dc1 (diff) | |
download | mongo-4ae691e8edc87d0e3cfb633bb91c328426be007b.tar.gz |
SERVER-22468 Format JS code with approved style in jstests/
Diffstat (limited to 'jstests/core/explain_multi_plan.js')
-rw-r--r-- | jstests/core/explain_multi_plan.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/jstests/core/explain_multi_plan.js b/jstests/core/explain_multi_plan.js index abcec153816..f74078c717d 100644 --- a/jstests/core/explain_multi_plan.js +++ b/jstests/core/explain_multi_plan.js @@ -2,7 +2,7 @@ * Tests running explain on a variety of explainable commands (find, update, remove, etc.) when * there are multiple plans available. This is a regression test for SERVER-20849 and SERVER-21376. */ -(function () { +(function() { "use strict"; var coll = db.explainMultiPlan; coll.drop(); @@ -49,12 +49,13 @@ }); assert.doesNotThrow(function() { - coll.explain("allPlansExecution").group({ - key: {a: 1}, - cond: {a: {$gte: 1}}, - reduce: function (curr, result) {}, - initial: {} - }); + coll.explain("allPlansExecution") + .group({ + key: {a: 1}, + cond: {a: {$gte: 1}}, + reduce: function(curr, result) {}, + initial: {} + }); }); // SERVER-21376: Make sure the 'rejectedPlans' field is filled in appropriately. |