diff options
Diffstat (limited to 'test/lib/deprecate.js')
-rw-r--r-- | test/lib/deprecate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/deprecate.js b/test/lib/deprecate.js index 03100166a..e278a3e3c 100644 --- a/test/lib/deprecate.js +++ b/test/lib/deprecate.js @@ -60,14 +60,14 @@ test('completion', async t => { test('no args', t => { deprecate.exec([], (err) => { - t.match(err, /Usage: npm deprecate/, 'logs usage') + t.match(err, 'Usage:', 'logs usage') t.end() }) }) test('only one arg', t => { deprecate.exec(['foo'], (err) => { - t.match(err, /Usage: npm deprecate/, 'logs usage') + t.match(err, 'Usage:', 'logs usage') t.end() }) }) |