diff options
Diffstat (limited to 'test/lib/access.js')
-rw-r--r-- | test/lib/access.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/access.js b/test/lib/access.js index 8134c1d91..a8e28c8eb 100644 --- a/test/lib/access.js +++ b/test/lib/access.js @@ -41,7 +41,7 @@ test('completion', t => { test('subcommand required', t => { const access = new Access({ flatOptions: {} }) access.exec([], (err) => { - t.equal(err, '\nUsage: Subcommand is required.\n\n' + access.usage) + t.match(err, access.usageError('Subcommand is required.')) t.end() }) }) |