summaryrefslogtreecommitdiff
path: root/jstests/core/set_param1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/set_param1.js')
-rw-r--r--jstests/core/set_param1.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/core/set_param1.js b/jstests/core/set_param1.js
index 2df37442518..b0df18bccd3 100644
--- a/jstests/core/set_param1.js
+++ b/jstests/core/set_param1.js
@@ -28,14 +28,12 @@ assert.neq(undefined,
assert.commandFailed(db.adminCommand({"setParameter": 1, logComponentVerbosity: "not an object"}));
// Non-numeric verbosity for component should be rejected.
-assert.commandFailed(db.adminCommand({
- "setParameter": 1,
- logComponentVerbosity: {storage: {journal: {verbosity: "not a number"}}}
-}));
+assert.commandFailed(db.adminCommand(
+ {"setParameter": 1, logComponentVerbosity: {storage: {journal: {verbosity: "not a number"}}}}));
// Invalid component shall be rejected
-assert.commandFailed(db.adminCommand(
- {"setParameter": 1, logComponentVerbosity: {NoSuchComponent: {verbosity: 2}}}));
+assert.commandFailed(
+ db.adminCommand({"setParameter": 1, logComponentVerbosity: {NoSuchComponent: {verbosity: 2}}}));
// Set multiple component log levels at once.
(function() {