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/set_param1.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/set_param1.js')
-rw-r--r-- | jstests/core/set_param1.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/jstests/core/set_param1.js b/jstests/core/set_param1.js index b7ceefcc77c..3b31d2d8caa 100644 --- a/jstests/core/set_param1.js +++ b/jstests/core/set_param1.js @@ -1,14 +1,14 @@ // Tests for accessing logLevel server parameter using getParameter/setParameter commands // and shell helpers. -old = db.adminCommand( { "getParameter" : "*" } ) -tmp1 = db.adminCommand( { "setParameter" : 1 , "logLevel" : 5 } ) -tmp2 = db.adminCommand( { "setParameter" : 1 , "logLevel" : old.logLevel } ) -now = db.adminCommand( { "getParameter" : "*" } ) - -assert.eq( old , now , "A" ) -assert.eq( old.logLevel , tmp1.was , "B" ) -assert.eq( 5 , tmp2.was , "C" ) +old = db.adminCommand( { "getParameter" : "*" } ); +tmp1 = db.adminCommand( { "setParameter" : 1 , "logLevel" : 5 } ); +tmp2 = db.adminCommand( { "setParameter" : 1 , "logLevel" : old.logLevel } ); +now = db.adminCommand( { "getParameter" : "*" } ); + +assert.eq( old , now , "A" ); +assert.eq( old.logLevel , tmp1.was , "B" ); +assert.eq( 5 , tmp2.was , "C" ); // // component verbosity |