aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/outdated-depth-deep.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/outdated-depth-deep.js')
-rw-r--r--deps/npm/test/tap/outdated-depth-deep.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/test/tap/outdated-depth-deep.js b/deps/npm/test/tap/outdated-depth-deep.js
index 682b1ca958..14d4f1faf8 100644
--- a/deps/npm/test/tap/outdated-depth-deep.js
+++ b/deps/npm/test/tap/outdated-depth-deep.js
@@ -71,8 +71,8 @@ test('outdated depth deep (9999)', function (t) {
function thenValidateOutput (err, code, stdout, stderr) {
if (err) throw err
- t.is(code, 0, 'outdated completed successfully')
- t.is('', stderr, 'no error output')
+ t.ifError(err)
+ t.is(code, 1, 'npm outdated exited with code 1')
t.match(
stdout,
/underscore.*1\.3\.1.*1\.3\.1.*1\.5\.1.*whatever\n/g,