不要怂,就是干,撸起袖子干!

Commit 745a77f9 by Mick Hansen

match lowercase p in port

1 parent a65fb691
Showing with 1 additions and 1 deletions
......@@ -114,11 +114,11 @@ describe(Support.getTestDialectTeaser('Sequelize'), function() {
.sequelizeWithInvalidConnection
.authenticate()
.complete(function(err, result) {
console.log(err.message);
expect(
err.message.match(/connect ECONNREFUSED/) ||
err.message.match(/invalid port number/) ||
err.message.match(/RangeError: Port should be > 0 and < 65536/) ||
err.message.match(/RangeError: port should be > 0 and < 65536/) ||
err.message.match(/ConnectionError: Login failed for user/)
).to.be.ok;
done();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!