diff options
Diffstat (limited to 'deps/npm/test/tap/shared-linked.js')
-rw-r--r-- | deps/npm/test/tap/shared-linked.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/deps/npm/test/tap/shared-linked.js b/deps/npm/test/tap/shared-linked.js index 63c2538da1..0e2b462789 100644 --- a/deps/npm/test/tap/shared-linked.js +++ b/deps/npm/test/tap/shared-linked.js @@ -27,6 +27,7 @@ var optimist = Dir({ minimist: Dir({ 'package.json': File({ _shasum: 'd7aa327bcecf518f9106ac6b8f003fa3bcea8566', + _resolve: 'foo', name: 'minimist', version: '0.0.5' }) @@ -34,6 +35,7 @@ var optimist = Dir({ wordwrap: Dir({ 'package.json': File({ _shasum: 'b79669bb42ecb409f83d583cad52ca17eaa1643f', + _resolve: 'foo', name: 'wordwrap', version: '0.0.2' }) @@ -130,15 +132,14 @@ test('shared-linked', function (t) { '--unicode', 'false' ] - common.npm(config.concat(['install', '--dry-run']), options, function (err, code, stdout, stderr) { + common.npm(config.concat(['install', '--dry-run', '--parseable']), options, function (err, code, stdout, stderr) { if (err) throw err t.is(code, 0) var got = stdout.trim().replace(/\s+\n/g, '\n') var expected = - 'bug@10800.0.0 ' + bugdir + '\n' + - '`-- optimist@0.6.0\n' + - ' +-- minimist@0.0.5\n' + - ' `-- wordwrap@0.0.2' + 'add\tminimist\t0.0.5\tnode_modules/minimist\n' + + 'add\twordwrap\t0.0.2\tnode_modules/wordwrap\n' + + 'add\toptimist\t0.6.0\tnode_modules/optimist' t.is(got, expected, 'just an optimist install please') server.done() t.end() |