We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 267a0c6 commit 3ac7774Copy full SHA for 3ac7774
test/test.js
@@ -249,10 +249,10 @@ describe('url-parse', function () {
249
250
it('correctly ignores multiple slashes //', function () {
251
var url = '////what-is-up.com'
252
- , parsed = parse(url);
+ , parsed = parse(url, parse('http://google.com'));
253
254
assume(parsed.host).equals('what-is-up.com');
255
- assume(parsed.href).equals('//what-is-up.com/');
+ assume(parsed.href).equals('http://what-is-up.com/');
256
});
257
258
it('does not see a slash after the protocol as path', function () {
0 commit comments