summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-cache-filename/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/npm-cache-filename/test.js')
-rw-r--r--deps/npm/node_modules/npm-cache-filename/test.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/npm/node_modules/npm-cache-filename/test.js b/deps/npm/node_modules/npm-cache-filename/test.js
index 5faecceb4..bdca80b50 100644
--- a/deps/npm/node_modules/npm-cache-filename/test.js
+++ b/deps/npm/node_modules/npm-cache-filename/test.js
@@ -17,5 +17,7 @@ test('it does the thing it says it does', function(t) {
'/tmp/foo_134/xyz')
t.equal(cf("/tmp", "https://foo:134/xyz-rev/baz"),
'/tmp/foo_134/xyz-rev/baz')
+ t.equal(cf("/tmp", "git://foo:134/xyz-rev/baz.git#master"),
+ '/tmp/foo_134/xyz-rev/baz.git/master')
t.end();
});;