Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: test for correct parsing of URLs with plus character in protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki authored and bnoordhuis committed Sep 6, 2011
1 parent d055294 commit fb93ab4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/simple/test-url.js
Expand Up @@ -335,6 +335,13 @@ var parseTests = {
hostname: 'bucket_name.s3.amazonaws.com',
pathname: '/image.jpg',
href: 'http://bucket_name.s3.amazonaws.com/image.jpg'
},
'git+http://github.com/joyent/node.git': {
protocol: 'git+http:',
slashes: true,
host: 'github.com',
pathname: '/joyent/node.git',
href: 'git+http://github.com/joyent/node.git'
}
};

Expand Down

0 comments on commit fb93ab4

Please sign in to comment.