mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix lint
This commit is contained in:
parent
24c134c4fc
commit
0ea9e0521f
@ -9,12 +9,11 @@
|
||||
assert(res.ok);
|
||||
};
|
||||
|
||||
var shouldFail =
|
||||
function(uri) {
|
||||
var shouldFail = function(uri) {
|
||||
assert.throws(function(uri) {
|
||||
var conn = new Mongo(uri);
|
||||
}, [uri], "network error while attempting to run command");
|
||||
}
|
||||
};
|
||||
|
||||
// Start up a mongod with ssl required.
|
||||
var sslMongo = MongoRunner.runMongod({
|
||||
|
Loading…
Reference in New Issue
Block a user