summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/install-save-prefix.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/install-save-prefix.js')
-rw-r--r--deps/npm/test/tap/install-save-prefix.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/npm/test/tap/install-save-prefix.js b/deps/npm/test/tap/install-save-prefix.js
index 753150924a..bbdeddf3fe 100644
--- a/deps/npm/test/tap/install-save-prefix.js
+++ b/deps/npm/test/tap/install-save-prefix.js
@@ -22,6 +22,7 @@ test('"npm install --save with default save-prefix should install local pkg vers
npm.load({
cache: pkg + "/cache",
loglevel: 'silent',
+ 'save-prefix': '^',
registry: common.registry }, function(err) {
t.ifError(err)
npm.config.set('save', true)
@@ -47,6 +48,7 @@ test('"npm install --save-dev with default save-prefix should install local pkg
npm.load({
cache: pkg + "/cache",
loglevel: 'silent',
+ 'save-prefix': '^',
registry: common.registry }, function(err) {
t.ifError(err)
npm.config.set('save-dev', true)