summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/github-url-from-git/Readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/github-url-from-git/Readme.md')
-rw-r--r--deps/npm/node_modules/github-url-from-git/Readme.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/deps/npm/node_modules/github-url-from-git/Readme.md b/deps/npm/node_modules/github-url-from-git/Readme.md
index 0525e44ec..9dccaa8db 100644
--- a/deps/npm/node_modules/github-url-from-git/Readme.md
+++ b/deps/npm/node_modules/github-url-from-git/Readme.md
@@ -38,6 +38,16 @@ describe('parse(url)', function(){
parse(url).should.eql('https://github.com/bcoe/thumbd');
})
+ it('should parse git+https://github.com/bcoe/thumbd.git', function() {
+ var url = 'git+https://github.com/bcoe/thumbd.git';
+ parse(url).should.eql('https://github.com/bcoe/thumbd');
+ })
+
+ it('should parse git+ssh://github.com/bcoe/thumbd.git', function() {
+ var url = 'git+ssh://github.com/bcoe/thumbd.git';
+ parse(url).should.eql('https://github.com/bcoe/thumbd');
+ })
+
it('should parse https://EastCloud@github.com/EastCloud/node-websockets.git', function() {
var url = 'https://EastCloud@github.com/EastCloud/node-websockets.git';
parse(url).should.eql('https://github.com/EastCloud/node-websockets');