Permalink
Browse files

test: test for correct parsing of URLs with plus character in protocol

  • Loading branch information...
1 parent d055294 commit fb93ab4125362271d9e5eda07179cb725b90779d @mmalecki mmalecki committed with bnoordhuis Sep 5, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/simple/test-url.js
View
@@ -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'
}
};

0 comments on commit fb93ab4

Please sign in to comment.