summaryrefslogtreecommitdiff
path: root/jstests/ssl/shell_option_parsing.js
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2019-05-20 17:49:18 -0400
committerJonathan Reams <jbreams@mongodb.com>2019-05-20 17:49:18 -0400
commitc8e0cc640ba6045ab3f6bd5f192d7c533f45e0f1 (patch)
treebd168dbcb2b74d04a2812481fecdefcf29a6a803 /jstests/ssl/shell_option_parsing.js
parent3c0a976f7023b968d75f5d3caa60a118d1eca13b (diff)
downloadmongo-c8e0cc640ba6045ab3f6bd5f192d7c533f45e0f1.tar.gz
SERVER-40841 Fix lint
Diffstat (limited to 'jstests/ssl/shell_option_parsing.js')
-rw-r--r--jstests/ssl/shell_option_parsing.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/ssl/shell_option_parsing.js b/jstests/ssl/shell_option_parsing.js
index a08386ece75..e51367f836f 100644
--- a/jstests/ssl/shell_option_parsing.js
+++ b/jstests/ssl/shell_option_parsing.js
@@ -78,15 +78,13 @@
});
}
- const testSuccessfulConnect =
- function(expectPasswordPrompt, ...args) {
+ const testSuccessfulConnect = function(expectPasswordPrompt, ...args) {
testConnect(expectPasswordPrompt, true, ...args);
- }
+ };
- const testFailedConnect =
- function(expectPasswordPrompt, ...args) {
+ const testFailedConnect = function(expectPasswordPrompt, ...args) {
testConnect(expectPasswordPrompt, false, ...args);
- }
+ };
testSuccessfulConnect(true, `mongodb://${username}@${host}/test`);
testSuccessfulConnect(true, `mongodb://${username}@${host}/test`, '--password');