8000 test: rolls back previous change, not needed anymore · mysqljs/mysql@d1b2511 · GitHub
[go: up one dir, main page]

Skip to content

Commit d1b2511

Browse files
committed
test: rolls back previous change, not needed anymore
1 parent 70b1be8 commit d1b2511
< 8000 /div>

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/test-ConnectionConfig.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ var Crypto = require('crypto');
33
var test = require('utest');
44
var assert = require('assert');
55
var ConnectionConfig = common.ConnectionConfig;
6-
var usesWhatwgUrl = (typeof URL == 'function' && typeof URL.prototype == 'object');
76

87
test('ConnectionConfig#Constructor', {
98
'takes user,pw,host,port,db from url string': function() {
@@ -24,7 +23,7 @@ test('ConnectionConfig#Constructor', {
2423
assert.equal(config.host, 'myhost');
2524
assert.equal(config.port, 3333);
2625
assert.equal(config.user, 'myuser');
27-
assert.equal(config.password, usesWhatwgUrl ? 'my%3Apass' : 'my:pass');
26+
assert.equal(config.password, 'my:pass');
2827
assert.equal(config.database, 'mydb');
2928
},
3029

0 commit comments

Comments
 (0)
0