summaryrefslogtreecommitdiff
path: root/jstests/core/connection_string_validation.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/connection_string_validation.js')
-rw-r--r--jstests/core/connection_string_validation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/connection_string_validation.js b/jstests/core/connection_string_validation.js
index 4ecd1f926ee..a682b27ea79 100644
--- a/jstests/core/connection_string_validation.js
+++ b/jstests/core/connection_string_validation.js
@@ -1,7 +1,7 @@
// Test validation of connection strings passed to the JavaScript "connect()" function.
// Related to SERVER-8030.
-port = "27017"
+port = "27017";
if ( db.getMongo().host.indexOf( ":" ) >= 0 ) {
var idx = db.getMongo().host.indexOf( ":" );