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/libs/ssl_test.js | |
parent | a025d43f3ce2efc1fb1282a718f5d286fa0a4dc1 (diff) | |
download | mongo-4ae691e8edc87d0e3cfb633bb91c328426be007b.tar.gz |
SERVER-22468 Format JS code with approved style in jstests/
Diffstat (limited to 'jstests/libs/ssl_test.js')
-rw-r--r-- | jstests/libs/ssl_test.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/jstests/libs/ssl_test.js b/jstests/libs/ssl_test.js index 59380776bf8..11874ebc01e 100644 --- a/jstests/libs/ssl_test.js +++ b/jstests/libs/ssl_test.js @@ -16,7 +16,6 @@ * "jstests/libs/ca.pem"). */ function SSLTest(serverOpts, clientOpts) { - var canonicalServerOpts = function(userProvidedOpts) { var canonical = Object.extend({}, userProvidedOpts || {}); @@ -51,14 +50,14 @@ SSLTest.prototype.defaultSSLClientOptions = { "ssl": "", "sslPEMKeyFile": "jstests/libs/client.pem", "sslAllowInvalidCertificates": "", - "eval": ";" // prevent the shell from entering interactive mode + "eval": ";" // prevent the shell from entering interactive mode }; /** * The default shell arguments for a shell without SSL enabled. */ SSLTest.prototype.noSSLClientOptions = { - eval: ";" // prevent the shell from entering interactive mode + eval: ";" // prevent the shell from entering interactive mode }; /** @@ -75,8 +74,7 @@ SSLTest.prototype.connectWorked = function() { var serverPID = _startMongoProgram.apply(null, serverArgv); try { assert.soon(function() { - return checkProgram(serverPID) && - (0 === _runMongoProgram.apply(null, clientArgv)); + return checkProgram(serverPID) && (0 === _runMongoProgram.apply(null, clientArgv)); }, "connect failed", connectTimeoutMillis); } catch (ex) { return false; |