Skip to content

Commit

Permalink
test: rolls back previous change, not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
dresende committed Nov 21, 2023
1 parent 70b1be8 commit d1b2511
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/unit/test-ConnectionConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ var Crypto = require('crypto');
var test = require('utest');
var assert = require('assert');
var ConnectionConfig = common.ConnectionConfig;
var usesWhatwgUrl = (typeof URL == 'function' && typeof URL.prototype == 'object');

test('ConnectionConfig#Constructor', {
'takes user,pw,host,port,db from url string': function() {
Expand All @@ -24,7 +23,7 @@ test('ConnectionConfig#Constructor', {
assert.equal(config.host, 'myhost');
assert.equal(config.port, 3333);
assert.equal(config.user, 'myuser');
assert.equal(config.password, usesWhatwgUrl ? 'my%3Apass' : 'my:pass');
assert.equal(config.password, 'my:pass');
assert.equal(config.database, 'mydb');
},

Expand Down

0 comments on commit d1b2511

Please # to comment.