diff options
Diffstat (limited to 'deps/npm/test/tap/search.js')
-rw-r--r-- | deps/npm/test/tap/search.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/test/tap/search.js b/deps/npm/test/tap/search.js index f389670a42..3568170de1 100644 --- a/deps/npm/test/tap/search.js +++ b/deps/npm/test/tap/search.js @@ -62,7 +62,7 @@ test('spits out a useful error when no cache nor network', function (t) { ], {}, function (err, code, stdout, stderr) { if (err) throw err t.equal(code, 1, 'non-zero exit code') - t.equal(stdout, '', 'no stdout output') + t.match(JSON.parse(stdout).error.summary, /No search sources available/) t.match(stderr, /No search sources available/, 'useful error') t.done() }) |