projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d055294
)
test: test for correct parsing of URLs with plus character in protocol
author
Maciej Małecki
<maciej.malecki@notimplemented.org>
Mon, 5 Sep 2011 19:16:00 +0000
(21:16 +0200)
committer
Ben Noordhuis
<info@bnoordhuis.nl>
Tue, 6 Sep 2011 15:04:00 +0000
(17:04 +0200)
test/simple/test-url.js
patch
|
blob
|
history
diff --git
a/test/simple/test-url.js
b/test/simple/test-url.js
index
c6c4729
..
ff55eb2
100644
(file)
--- a/
test/simple/test-url.js
+++ b/
test/simple/test-url.js
@@
-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'
}
};